mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 05:37:59 +01:00
Add typos workflow
This commit is contained in:
parent
2858f0cabb
commit
31ae13fe28
2 changed files with 18 additions and 0 deletions
8
.github/workflows/elixir.yml
vendored
8
.github/workflows/elixir.yml
vendored
|
@ -27,6 +27,14 @@ jobs:
|
|||
run: |
|
||||
docker compose run app mix sobelow --config
|
||||
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:
|
||||
name: 'JavaScript Linting and Unit Tests'
|
||||
runs-on: ubuntu-latest
|
||||
|
|
10
.typos.toml
Normal file
10
.typos.toml
Normal 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]+"
|
||||
]
|
||||
|
Loading…
Reference in a new issue