diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fd7a3db..23866b3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8ae1c59..7bb8bd1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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