From 77add9853df840d5b623e08102c5b8a456b5d884 Mon Sep 17 00:00:00 2001 From: CoreOS Bot Date: Mon, 5 Jun 2023 10:03:09 +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@780abcb15410ca16de2c54436a4a185fc288a17b. --- .github/workflows/rust.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6588ffd..b8dd702 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,7 @@ env: # Minimum supported Rust version (MSRV) MSRV: 1.61.0 # Pinned toolchain for linting - ACTIONS_LINTS_TOOLCHAIN: 1.69.0 + ACTIONS_LINTS_TOOLCHAIN: 1.70.0 jobs: tests-stable: @@ -36,9 +36,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 @@ -52,9 +52,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 @@ -68,9 +68,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 @@ -87,7 +87,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 @@ -105,6 +105,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