Update Dockerfile and global.json updates to v9.0.301 - autoclosed #181
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 📃 Docfx Validate | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- microbuild | |
jobs: | |
build: | |
name: 📚 Doc validation | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
- name: 🔗 Markup Link Checker (mlc) | |
uses: becheran/mlc@c925f90a9a25e16e4c4bfa29058f6f9ffa9f0d8c # v0.21.0 | |
with: | |
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/*,https://badges.gitter.im/*,https://github.com/*,https://app.gitter.im/* -p docfx -i https://aka.ms/onboardsupport,https://aka.ms/spot,https://msrc.microsoft.com/*,https://www.microsoft.com/msrc*,https://microsoft.com/msrc*,https://microsoft.sharepoint.com/* | |
- name: ⚙ Install prerequisites | |
run: | | |
./init.ps1 -UpgradePrerequisites | |
dotnet --info | |
shell: pwsh | |
- name: 📚 Verify docfx build | |
run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures | |
if: runner.os == 'Linux' |