Skip to content

Merge main to microbuild #3

Merge main to microbuild

Merge main to microbuild #3

Workflow file for this run

name: 📃 Docfx Validate
on:
pull_request:
workflow_dispatch:
jobs:
build:
name: 📚 docfx
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: 🔗 Markup Link Checker (mlc)
uses: becheran/[email protected]
with:
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dev.azure.com/*,https://app.codecov.io/*,https://www.microsoft.com/en-us/msrc/cvd*,https://msrc.microsoft.com/*,https://www.microsoft.com/en-us/msrc/* -p docfx -i https://aka.ms/onboardsupport,https://aka.ms/spot
- 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'