Upgrade Build Quality Checks task to v10 to remove Node 16 EOL warning #205
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
# .github/workflows/spellcheck.yml | |
name: Spell check | |
on: [pull_request] | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
############################################################ | |
# 1️⃣ Built-in codespell action → PR annotations | |
############################################################ | |
- name: Codespell (built-in dictionary) | |
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 | |
with: | |
check_filenames: true # also scan file names | |
ignore_words_file: .codespellignore | |
skip: > | |
src/client/Microsoft.Identity.Client/json, | |
tests, | |
devapps, | |
build, | |
docs, | |
prototype, | |
############################################################ | |
# 2️⃣ Raw CLI pass → enforces your custom typo pairs | |
############################################################ | |
- name: Install codespell | |
run: pip install --quiet --no-deps "codespell==2.4.1" | |
- name: Codespell (custom pair list) | |
run: | | |
codespell --check-filenames \ | |
--dictionary build/codespell_pairs.txt \ | |
--ignore-words .codespellignore \ | |
--skip "src/client/Microsoft.Identity.Client/json,tests,devapps,build,docs,prototype" \ | |
. |