From 04eafd318d4357b694b6cf8658db7d0d99a09bb8 Mon Sep 17 00:00:00 2001 From: AntwortEinesLebens Date: Tue, 27 Aug 2024 18:44:47 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=A4=96=20Add=20workspace=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 4 ++-- .github/workflows/lint.yaml | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) 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