Skip to content

Commit

Permalink
Check for typos in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Aug 8, 2023
1 parent 34d1fbc commit 4120195
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,15 @@ jobs:
- name: Check dependency tables
run: |
cargo sort --workspace --grouped --check
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
if: github.event_name == 'push' || !github.event.pull_request.draft

steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3

- name: Check the spelling of the files in our repo
uses: crate-ci/typos@v1.16.2
4 changes: 4 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default.extend-identifiers]
# Typos in previous type names, mentioned in changelog
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
OnFailedUpdgrade = "OnFailedUpdgrade"

0 comments on commit 4120195

Please sign in to comment.