Skip to content

Commit

Permalink
Run fast clippy/fmt/typos before relatively slow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog authored Jan 10, 2025
1 parent 54bd025 commit 458f6d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ jobs:
rustc --version
- name: Build
run: cargo build --all-targets
- uses: taiki-e/install-action@v2
name: Install nextest using install-action
with:
tool: nextest
- name: Test
run: cargo test --workspace
- name: Check rustfmt
run: cargo fmt --all --check
- name: Check clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Check typos
uses: crate-ci/typos@master
- uses: taiki-e/install-action@v2
name: Install nextest using install-action
with:
tool: nextest
- name: Test
run: cargo test --workspace
- name: Build release binary
run: cargo build --release
- name: Upload binary artifact
Expand Down

0 comments on commit 458f6d3

Please sign in to comment.