Skip to content

Commit

Permalink
ci: 🤖 Add workspace flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AntwortEinesLebens committed Aug 27, 2024
1 parent a3d311f commit 04eafd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Build Rust code
run: cargo build -v --all-targets --all-features
run: cargo build -v --workspace --all-targets --all-features
- name: Run Rust tests
run: cargo test -v --all-targets --all-features
run: cargo test -v --workspace --all-targets --all-features
msrv:
name: Check MSRV
runs-on: windows-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Lint Rust code
run: cargo clippy --all-targets --all-features -- -D warnings
run: |-
cargo clippy \
--workspace \
--all-targets \
--all-features \
-- -D warnings
cargo-deny:
name: Lint with cargo-deny
runs-on: ubuntu-latest
Expand Down

0 comments on commit 04eafd3

Please sign in to comment.