Skip to content

Commit

Permalink
feat: bump to use node20 runtime (#71)
Browse files Browse the repository at this point in the history
* feat: bump to use node20 runtime, actions/checkout to v4

* Setup pre-commit to run codespell

Eat our own dogfood...

* codespell --skip="abandonned,ackward,bu"

* codespell --ignore-words-list="abandonned,ackward,bu"

* Update testing.yml

---------

Co-authored-by: Christian Clauss <[email protected]>
  • Loading branch information
kbdharun and cclauss authored Feb 26, 2024
1 parent 8edd9f2 commit 3174815
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
check_filenames: true
check_hidden: true
# When using this Action in other repos, the --skip option below can be removed
skip: ./.git,./codespell-problem-matcher/test,./test,./README.md,./.github/workflows/testing.yml
skip: ./.git,./codespell-problem-matcher/test,./test,./README.md,./.github/workflows/testing.yml,./.pre-commit-config.yaml
# Check our README (and this workflow) ignoring the two intentional typos
- uses: ./
with:
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: [--ignore-words-list, "abandonned,ackward,bu"]
additional_dependencies:
- tomli
2 changes: 1 addition & 1 deletion codespell-problem-matcher/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'codespell problem matcher'
author: 'Peter Newman'
description: 'Shows codespell errors as annotation (with file and code line) in GitHub Actions'
runs:
using: 'node12'
using: 'node20'
main: 'index.js'
branding:
icon: 'search'
Expand Down

0 comments on commit 3174815

Please sign in to comment.