chore: bump codecov/codecov-action from 5.0.2 to 5.0.3 #12711
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: cSpell-cli | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
# Run on demand | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
cspell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- run: pnpm -v | |
- # It is necessary to run `pnpm i` in order install some dictionaries. | |
name: prepare-cspell-action | |
run: pnpm i | |
- run: pnpm --filter @cspell/cspell-types --filter @cspell/cspell-bundled-dicts run build | |
- name: Restore CSpell cache | |
uses: actions/cache@v4.1.2 | |
with: | |
key: cspell-cache-v2-${{ runner.os }}-${{ hashFiles('**/*.ts', '**/*.md') }} | |
path: | | |
.cspellcache | |
restore-keys: | | |
cspell-cache-v2-${{ runner.os }}- | |
- name: cspell@latest | |
run: npx cspell@latest --cache --cache-strategy=content --cache-location=.cspellcache --exclude="yarn2" --no-progress "**" | |
# run: npx cspell@latest --cache --cache-strategy=content --cache-location=.cspellcache --exclude="yarn2" "**" |