diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index dfdfab46..95269dbc 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -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 diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000..898ad2e4 --- /dev/null +++ b/.typos.toml @@ -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]+" +] +