Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
ci: move cargo check to linting job (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello authored May 2, 2024
1 parent db332e5 commit c6d5c67
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ jobs:
- name: Run cargo test
run: cargo test --all-features

- name: Run cargo check
run: cargo check --all-features

linting:
runs-on: depot-ubuntu-22.04-4

Expand All @@ -89,12 +86,15 @@ jobs:
~/.cargo/git
target
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}


- name: Check format
run: cargo fmt -- --check

- name: Run clippy
run: cargo clippy -- -D warnings

- name: Check format
run: cargo fmt -- --check
- name: Run cargo check
run: cargo check --all-features

shear:
runs-on: depot-ubuntu-22.04-4
Expand Down

0 comments on commit c6d5c67

Please sign in to comment.