diff options
author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2023-07-11 11:21:39 -0700 |
---|---|---|
committer | Daniel McCarney <daniel@binaryparadox.net> | 2023-07-12 08:09:43 -0400 |
commit | 4f977fb49c5ca1cda6fa63dfafb68b6b245d3eae (patch) | |
tree | 4fd372974c621e342adb37d1d2d79214899e0526 | |
parent | 67a31d7ca485344c6cc596ae2268807d75f74b65 (diff) |
ci: bump toolchain version used for clippy and fmt
Add -A unknown-lints for required clippy version.
-rw-r--r-- | .github/workflows/test.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 61678f8..19a5df0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -177,10 +177,14 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@master with: - toolchain: 1.67.1 + toolchain: 1.70.0 components: clippy - name: Check clippy - run: cargo clippy --workspace -- -D warnings + # We allow unknown lints here because sometimes the nightly job + # (below) will have a new lint that we want to suppress. + # If we suppress (e.g. #![allow(clippy::arc_with_non_send_sync)]), + # we would get an unknown-lint error from older clippy versions. + run: cargo clippy --workspace -- -D warnings -A unknown-lints clippy-nightly-optional: name: Clippy nightly (optional) |