diff --git a/.github/workflows/spell.yml b/.github/workflows/spell.yml index 4d712af942c..85dbb8ca9e0 100644 --- a/.github/workflows/spell.yml +++ b/.github/workflows/spell.yml @@ -1,12 +1,26 @@ -name: Spell Check +name: Check links and Spell Check on: push: branches: - - ci-spell + - '**' pull_request: - + branches: + - '**' + jobs: + check-links: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Check links + uses: lycheeverse/lychee-action@v2 + with: + args: --no-progress --verbose "**/*.md" --verbose "**/*.mdx" --verbose "**/*.tsx" --verbose "**/*.rs" --verbose "**/*.ts" + spellcheck: runs-on: ubuntu-latest @@ -20,5 +34,5 @@ jobs: - name: Run Codespell run: | codespell \ - --ignore-words=.codespell-ignore \ + --ignore-words=.codespellrc \ --skip="*.min.js,*.json,*.lock,*.bin,*.svg"