Skip to content

Commit

Permalink
added typos to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lmapii committed Mar 15, 2024
1 parent b0d149b commit b666a91
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
schedule:
- cron: '00 01 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:

rustfmt:
Expand All @@ -26,6 +30,14 @@ jobs:
components: rustfmt
- run: cargo fmt --all -- --check

typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
# with:
# files: ./file.txt

clippy:
runs-on: ubuntu-latest
steps:
Expand All @@ -38,7 +50,7 @@ jobs:

build_and_test:
name: ${{ matrix.tuple.build }}
needs: [rustfmt, clippy]
needs: [rustfmt, clippy, typos]
runs-on: ${{ matrix.tuple.os }}
env:
CARGO: cargo
Expand Down

0 comments on commit b666a91

Please sign in to comment.