Add typos workflow

This commit is contained in:
Liam 2024-06-18 13:46:16 -04:00
parent 2858f0cabb
commit 31ae13fe28
2 changed files with 18 additions and 0 deletions

View file

@ -27,6 +27,14 @@ jobs:
run: | run: |
docker compose run app mix sobelow --config docker compose run app mix sobelow --config
docker compose run app mix deps.audit docker compose run app mix deps.audit
typos:
name: 'Check for spelling errors'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
lint-and-test: lint-and-test:
name: 'JavaScript Linting and Unit Tests' name: 'JavaScript Linting and Unit Tests'
runs-on: ubuntu-latest runs-on: ubuntu-latest

10
.typos.toml Normal file
View file

@ -0,0 +1,10 @@
[default]
extend-ignore-re = [
# Ignore development secret key. Production secret key should
# be in environment files and not checked into source control.
".*secret_key_base.*",
# Key constraints with encoded names
"fk_rails_[a-f0-9]+"
]