Merge pull request #793 from nunit/chore/bump-version #447
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
linting: | |
name: "Markdown linting" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Check out the code | |
- uses: actions/setup-node@v4 | |
name: Setup node | |
with: | |
node-version: "18" | |
- run: npm install -g markdownlint-cli2 | |
name: Install markdownlint-cli2 | |
- run: markdownlint-cli2 --config ".github/linters/.markdownlint.yml" "documentation/*.md" | |
name: run Markdownlint | |
spellcheck: | |
name: "Spell check" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Check out the code | |
- uses: actions/setup-node@v4 | |
name: Setup node | |
with: | |
node-version: "18" | |
- run: npm install -g cspell | |
name: Install cSpell | |
- run: cspell --config ./cSpell.json "documentation/*.md" --no-progress | |
name: run cSpell | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Setup .NET | |
uses: actions/setup-dotnet@main | |
with: | |
global-json-file: ./global.json | |
- name: dotnet test (NUnit4) | |
run: dotnet test --configuration=Release -p:NUnitVersion=4 ./src/nunit.analyzers.tests/ | |
- name: dotnet test (NUnit3) | |
run: dotnet test --configuration=Release -p:NUnitVersion=3 ./src/nunit.analyzers.tests/ |