We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a5c8d9 commit 1f5cd6fCopy full SHA for 1f5cd6f
.github/workflows/ci.yml
@@ -76,6 +76,19 @@ jobs:
76
args: --all -- --check
77
78
- name: Run cargo clippy
79
+ if: matrix.toolchain == 'beta'
80
+ uses: actions-rs/cargo@v1
81
+ with:
82
+ command: clippy
83
+ # As `return_self_not_must_use` became `pedantic` in the 1.60.0-nightly channel,
84
+ # we allow the warning to avoid unnecessary code fixes.
85
+ # See: https://github.com/rust-lang/rust-clippy/issues/8197
86
+ #
87
+ # TODO: Remove this branch once stable-1.59.0 is released.
88
+ args: --all-features --all -- -D warnings --allow clippy::return_self_not_must_use
89
+
90
+ - name: Run cargo clippy
91
+ if: matrix.toolchain != 'beta'
92
uses: actions-rs/cargo@v1
93
with:
94
command: clippy
0 commit comments