trying to find magic version of Vogen that actually works #2665
This file contains 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: Documentation PRs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
node_version: 20.x | |
NUKE_TELEMETRY_OPTOUT: true | |
jobs: | |
run: | |
name: "linting, spell check and build" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Check out the code | |
- name: Lint Code Base | |
uses: docker://ghcr.io/igorshubovych/markdownlint-cli:latest | |
with: | |
args: "--disable MD009 -- docs/**/*.md" | |
- uses: actions/setup-node@v4 | |
name: Install Node.js | |
with: | |
node-version: ${{ env.node_version }} | |
- run: npm install -g cspell | |
name: Install cSpell | |
- run: cspell --config ./docs/cSpell.json "docs/**/*.md" | |
name: run cSpell | |
- name: Install .NET 8.0.x | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install .NET 9.0.x | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 9.0.x | |
- name: Build docs | |
run: ./build.sh docs-build |