Skip to content

Merge pull request #1396 from microsoft/renovate/microsoft.windows.cs… #63

Merge pull request #1396 from microsoft/renovate/microsoft.windows.cs…

Merge pull request #1396 from microsoft/renovate/microsoft.windows.cs… #63

Workflow file for this run

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@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: 🔗 Markup Link Checker (mlc)
uses: becheran/mlc@v0.19.2
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'