Fix source generated proxy suitability testing #531
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
| - name: 🔗 Markup Link Checker (mlc) | |
| uses: becheran/mlc@18a06b3aa2901ca197de59c8b0b1f54fdba6b3fa # v1.0.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://microsoft.github.io/vs-threading/* -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://www.npmjs.com/package/*,https://get.dot.net/ | |
| - name: ⚙ Install prerequisites | |
| run: | | |
| ./init.ps1 -UpgradePrerequisites | |
| dotnet --info | |
| shell: pwsh | |
| - name: 🏭 Build source generator # docfx build needs this to avoid a warning. | |
| run: dotnet build -c Release src/StreamJsonRpc.Analyzers.CodeFixes | |
| - name: 📚 Verify docfx build | |
| run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures | |
| if: runner.os == 'Linux' |