Update check-spelling/check-spelling action to v0.0.24 #51
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
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
name: Check spelling | |
steps: | |
- name: Spell-Check | |
uses: check-spelling/[email protected] | |
with: | |
checkout: true | |
# don't check extra dictionaries | |
check_extra_dictionaries: '' | |
extra_dictionaries: | |
cspell:software-terms/dict/softwareTerms.txt | |
cspell:npm/dict/npm.txt | |
cspell:node/dict/node.txt | |
cspell:en_GB/src/hunspell/en_GB.dic | |
build: | |
runs-on: ubuntu-latest | |
name: 'Build and Test' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Build | |
run: bundle exec middleman build | |
- name: 'Check for broken links' | |
run: bundle exec rake check_urls | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |