Skip to content

Commit ca1fa3a

Browse files
authored
Merge pull request #29 from newAM/warnings
Move warnings check to CI
2 parents 36f4cdd + 829f49a commit ca1fa3a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ jobs:
1212
test:
1313
name: test
1414
runs-on: ubuntu-latest
15-
15+
env: {"RUSTFLAGS": "-D warnings"}
1616
strategy:
1717
matrix:
1818
target:
1919
- x86_64-unknown-linux-gnu
2020
- i686-unknown-linux-musl
21-
2221
steps:
2322
- uses: actions/checkout@v4
2423
- uses: dtolnay/rust-toolchain@master

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@
4646
//! This crate is guaranteed to compile on latest stable Rust. It *might* compile on older
4747
//! versions but that may change in any new patch release.
4848
49-
#![deny(missing_docs)]
50-
#![deny(warnings)]
5149
#![warn(
50+
missing_docs,
5251
clippy::use_self,
5352
clippy::doc_markdown,
5453
clippy::ptr_as_ptr,

0 commit comments

Comments
 (0)