Skip to content

Commit

Permalink
Merge pull request #217 from saschagrunert/clippy-nightly
Browse files Browse the repository at this point in the history
Run clippy with nightly toolchain
  • Loading branch information
saschagrunert authored Sep 11, 2024
2 parents 48af64d + 37b1b56 commit 2b9ff93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ jobs:
~/.cargo/git
target
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.lock') }}
- name: Select Toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
toolchain: nightly
default: true
override: true
components: clippy, rustfmt
- name: Clippy Lint
run: cargo clippy --all --all-features -- -D warnings

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![deny(missing_docs, warnings)]
#![doc = include_str!("../README.md")]
#![allow(clippy::too_long_first_doc_paragraph)]

#[cfg(feature = "distribution")]
pub mod distribution;
Expand Down

0 comments on commit 2b9ff93

Please sign in to comment.