mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 22:56:46 +01:00
Check for typos in CI
This commit is contained in:
parent
34d1fbc052
commit
4120195c53
2 changed files with 16 additions and 0 deletions
12
.github/workflows/CI.yml
vendored
12
.github/workflows/CI.yml
vendored
|
@ -217,3 +217,15 @@ jobs:
|
||||||
- name: Check dependency tables
|
- name: Check dependency tables
|
||||||
run: |
|
run: |
|
||||||
cargo sort --workspace --grouped --check
|
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
.typos.toml
Normal file
4
.typos.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[default.extend-identifiers]
|
||||||
|
# Typos in previous type names, mentioned in changelog
|
||||||
|
DefaultOnFailedUpdgrade = "DefaultOnFailedUpdgrade"
|
||||||
|
OnFailedUpdgrade = "OnFailedUpdgrade"
|
Loading…
Reference in a new issue