Skip to content

Commit b0d8fb3

Browse files
author
Floris Bruynooghe
authored
ci(periodic): Use cargo action for clippy (#349)
Run clippy with the cargo action. The annotations from the clippy action end up in the wrong place and github can't figure this out. Running the cargo action still annotates via stdout plus it doesn't run the actualy command with json output so humans can read it anyway.
1 parent d4169af commit b0d8fb3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/periodic.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ jobs:
2626
components: clippy
2727

2828
- name: Run clippy ${{ matrix.rust }}
29-
uses: actions-rs/clippy-check@v1
29+
uses: actions-rs/cargo@v1
3030
with:
31-
name: clippy-${{ matrix.rust }}-periodic
32-
token: ${{ secrets.GITHUB_TOKEN }}
31+
command: clippy
3332
args: --all-features --workspace --tests --examples
3433

3534
- uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)