Skip to content

Commit

Permalink
ci: cargo check all targets
Browse files Browse the repository at this point in the history
As of #3579 we can now enable `cargo check --all-targets` to ensure that
even benchmarks are included in `cargo check`.

Closes #3543.
  • Loading branch information
conorsch committed Jan 5, 2024
1 parent 37b1eab commit a75a104
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:
- name: Load rust cache
uses: astriaorg/[email protected]
- 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`.
Expand Down

0 comments on commit a75a104

Please sign in to comment.