Skip to content

Commit 1319dd6

Browse files
committed
ci: use clippy from MSRV so we avoid unsupported lints
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
1 parent 11a7235 commit 1319dd6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/code_style.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,20 @@ jobs:
1919
with:
2020
toolchain: nightly
2121
override: true
22-
components: rustfmt, clippy
22+
components: rustfmt
2323

2424
- name: Run cargo fmt
2525
uses: actions-rs/cargo@v1
2626
with:
2727
command: fmt
2828
args: --all -- --check
2929

30+
- uses: actions-rs/toolchain@v1
31+
with:
32+
toolchain: 1.59.0 # MSRV
33+
override: true
34+
components: clippy
35+
3036
- uses: actions-rs/clippy-check@v1
3137
with:
3238
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)