From ca6dd32ada3d89da1e0843dff8804eb4aab40de1 Mon Sep 17 00:00:00 2001 From: CoreOS Bot Date: Fri, 2 Jun 2023 00:40:21 +0000 Subject: [PATCH] =?UTF-8?q?Sync=20repo=20templates=20=E2=9A=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync with coreos/repo-templates@77d4eb103dc1b45a2d4c9ffed86c6f533bf75060. --- .github/workflows/rust.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 171f1b09..32a4e08c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,9 +34,9 @@ jobs: - name: Cache build artifacts uses: Swatinem/rust-cache@v2 - name: cargo build - run: cargo build + run: cargo build --all-targets - name: cargo test - run: cargo test + run: cargo test --all-targets tests-release-stable: name: Tests (release), stable toolchain runs-on: ubuntu-latest @@ -50,9 +50,9 @@ jobs: - name: Cache build artifacts uses: Swatinem/rust-cache@v2 - name: cargo build (release) - run: cargo build --release + run: cargo build --all-targets --release - name: cargo test (release) - run: cargo test --release + run: cargo test --all-targets --release tests-release-msrv: name: Tests (release), minimum supported toolchain runs-on: ubuntu-latest @@ -72,9 +72,9 @@ jobs: - name: Cache build artifacts uses: Swatinem/rust-cache@v2 - name: cargo build (release) - run: cargo build --release + run: cargo build --all-targets --release - name: cargo test (release) - run: cargo test --release + run: cargo test --all-targets --release linting: name: Lints, pinned toolchain runs-on: ubuntu-latest @@ -91,7 +91,7 @@ jobs: - name: cargo fmt (check) run: cargo fmt -- --check -l - name: cargo clippy (warnings) - run: cargo clippy -- -D warnings + run: cargo clippy --all-targets -- -D warnings tests-other-channels: name: Tests, unstable toolchain runs-on: ubuntu-latest @@ -109,6 +109,6 @@ jobs: - name: Cache build artifacts uses: Swatinem/rust-cache@v2 - name: cargo build - run: cargo build + run: cargo build --all-targets - name: cargo test - run: cargo test + run: cargo test --all-targets