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

ci: move cargo check to linting job #33

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading