Skip to content

Commit a5cbd5a

Browse files
mrtnzlmlkodiakhq[bot]
authored andcommitted
CI: use 'actions-rs/clippy-check'
Turns out there is a special action for Clippy, see: https://github.com/actions-rs/clippy-check
1 parent b9aa50e commit a5cbd5a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/continuous-integration-rust.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@ jobs:
1212
steps:
1313
- uses: actions/[email protected]
1414

15-
- uses: actions-rs/toolchain@v1
15+
# https://github.com/actions-rs/toolchain
16+
- uses: actions-rs/[email protected]
1617
with:
1718
toolchain: stable
1819

19-
# https://github.com/actions-rs/cargo
20-
- uses: actions-rs/cargo@v1
20+
# https://github.com/actions-rs/clippy-check
21+
- uses: actions-rs/clippy-check@v1.0.7
2122
with:
22-
command: clippy
23+
token: ${{ secrets.GITHUB_TOKEN }}
2324
args: --manifest-path src/ya-comiste-rust/Cargo.toml
2425

2526
# https://github.com/actions-rs/cargo
2627
- name: Run all tests
27-
uses: actions-rs/cargo@v1
28+
uses: actions-rs/cargo@v1.0.1
2829
with:
2930
command: test
3031
args: --manifest-path src/ya-comiste-rust/Cargo.toml

0 commit comments

Comments
 (0)