Skip to content

Commit 6d62cb2

Browse files
authored
Merge pull request #445 from reitermarkus/ci-deny-warnings
Only deny warnings in CI.
2 parents 9a22b83 + 859a5ae commit 6d62cb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
env:
1111
CARGO_TERM_COLOR: always
12+
RUSTFLAGS: '-D warnings'
1213

1314
jobs:
1415
# Run MIRI tests on nightly
@@ -111,7 +112,7 @@ jobs:
111112
with:
112113
components: clippy
113114
targets: i686-unknown-linux-musl
114-
- run: cargo clippy --all --target i686-unknown-linux-musl --all-targets -- --deny warnings
115+
- run: cargo clippy --all --target i686-unknown-linux-musl --all-targets
115116

116117
# Compilation check
117118
check:

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
#![cfg_attr(docsrs, feature(doc_cfg), feature(doc_auto_cfg))]
7777
#![cfg_attr(not(test), no_std)]
7878
#![deny(missing_docs)]
79-
#![deny(warnings)]
8079

8180
pub use binary_heap::BinaryHeap;
8281
pub use deque::Deque;

0 commit comments

Comments
 (0)