-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Satisfies the latest cargo lints. I took the easy way out, preserving the existing function sigs, rather than performing a deeper refactor. Ignored the checks on the re-export of metrics code across components. Holding off on adding `--all-targets` to the check command, because there's some cleanup to do in the benchmarks, related to #3556. Revert "ci: disable -D warnings" This reverts commit 4e7c77b. Refs #3543.
- Loading branch information
Showing
7 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,14 @@ jobs: | |
uses: taiki-e/install-action@nextest | ||
- name: Load rust cache | ||
uses: astriaorg/[email protected] | ||
- name: Run cargo check | ||
- name: Run cargo check, failing on warnings | ||
# The benchmarks don't pass lint; soon! | ||
# run: cargo check --release --all-targets | ||
run: cargo check --release | ||
env: | ||
# The `-D warnings` option causes an error on warnings; | ||
# but it caused apparently spurious warnings, so it was disabled. | ||
# we must duplicate the rustflags from `.cargo/config.toml`. | ||
RUSTFLAGS: "--cfg tokio_unstable" | ||
RUSTFLAGS: "-D warnings --cfg tokio_unstable" | ||
|
||
# If a dependency was modified, Cargo.lock may flap if not committed. | ||
- name: Check for diffs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters