Skip to content

Commit

Permalink
Fix 1.46 complaining about new Clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
kotauskas committed Nov 1, 2020
1 parent ca4afaa commit e5f875b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ jobs:
with:
command: clippy
env:
RUSTFLAGS: -D warnings
# Clippy on 1.46 doesn't have some lints from the latest nightly that we use, so we
# disable warning about that altogether, since we still test for those on the nightly.
RUSTFLAGS: -D warnings -A clippy::unknown_clippy_lints

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
env:
RUSTFLAGS: -D warnings
# Same here.
RUSTFLAGS: -D warnings -A clippy::unknown_clippy_lints

nightly:
name: On nightly
Expand Down

0 comments on commit e5f875b

Please sign in to comment.