chore(deps): update crate-ci/typos action to v1.33.0 (#196) #446
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
permissions: {} | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
paths-ignore: | |
- '**/*.md' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1 | |
- uses: oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0 | |
with: | |
save-cache: ${{ github.ref_name == 'main' }} | |
cache-key: warm | |
components: clippy rustfmt | |
- run: | | |
cargo test | |
cargo clippy -- -D warnings | |
cargo fmt --all -- --check | |
cargo run . | |
- uses: crate-ci/typos@e99b2b47d9910ae09f6e828594c33ab3e0936491 # v1.33.0 | |
with: | |
files: . |