aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-03-01 23:04:10 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-03-01 23:04:10 +0100
commita66e4d49d20edb44fe8bb95e062acf8620fbda5d (patch)
tree4b4ed50888b6ae3f08d30d442d8db2265be5ecf0
parentfeat(ci): add linting workflow (diff)
downloadsl0pstatus-a66e4d49d20edb44fe8bb95e062acf8620fbda5d.tar.gz
sl0pstatus-a66e4d49d20edb44fe8bb95e062acf8620fbda5d.tar.xz
sl0pstatus-a66e4d49d20edb44fe8bb95e062acf8620fbda5d.zip
feat(ci): move to official clippy action
-rw-r--r--.github/workflows/lint.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 54b1bc0..8353d13 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -18,9 +18,10 @@ jobs:
profile: minimal
override: true
target: wasm32-wasi
-
- - name: Install Clippy
- run: rustup component add clippy
+ components: clippy
- name: Run Clippy
- run: cargo clippy --all-targets --all-features
+ uses: actions-rs/clippy-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: --all-features --all-targets