Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: 'Spell Checker'
name: Spell Checker

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
workflow_dispatch:
Expand All @@ -13,27 +15,26 @@ on:
jobs:
spellcheck:
runs-on: ubuntu-latest
env:
env:
CONFIG_URL: https://raw.githubusercontent.com/Nightblade/pob-dict/main
steps:

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

- name: Fetch config file and dictionaries
run: |
curl --silent --show-error --parallel --remote-name-all \
${{ env.CONFIG_URL }}/cspell.json \
${{ env.CONFIG_URL }}/pob-dict.txt \
${{ env.CONFIG_URL }}/poe-dict.txt \
${{ env.CONFIG_URL }}/ignore-dict.txt \
${{ env.CONFIG_URL }}/extra-en-dict.txt \
run:
curl --silent --show-error --parallel --remote-name-all
${{ env.CONFIG_URL }}/cspell.json
${{ env.CONFIG_URL }}/pob-dict.txt
${{ env.CONFIG_URL }}/poe-dict.txt
${{ env.CONFIG_URL }}/ignore-dict.txt
${{ env.CONFIG_URL }}/extra-en-dict.txt
${{ env.CONFIG_URL }}/contribs-dict.txt

- name: Run cspell
uses: streetsidesoftware/cspell-action@v6.9.0
uses: streetsidesoftware/cspell-action@v7
with:
files: '**' # needed as workaround for non-incremental runs (overrides in config still work ok)
config: "cspell.json"
Expand Down
Loading