From a75a10416721ddefa5cd5758299669fc22ba99da Mon Sep 17 00:00:00 2001 From: Conor Schaefer Date: Fri, 5 Jan 2024 15:12:03 -0800 Subject: [PATCH] ci: cargo check all targets As of #3579 we can now enable `cargo check --all-targets` to ensure that even benchmarks are included in `cargo check`. Closes #3543. --- .github/workflows/rust.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9d98b9de58..37062e81ff 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,9 +16,7 @@ jobs: - name: Load rust cache uses: astriaorg/buildjet-rust-cache@v2.5.1 - name: Run cargo check, failing on warnings - # The benchmarks don't pass lint; soon! - # run: cargo check --release --all-targets - run: cargo check --release + run: cargo check --release --all-targets env: # The `-D warnings` option causes an error on warnings; # we must duplicate the rustflags from `.cargo/config.toml`.