Skip to content

Commit 72acca0

Browse files
committed
CI: run clippy
1 parent b60f46f commit 72acca0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: .github/workflows/run-tests.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
run-tests:
1212
runs-on: ubuntu-latest
13+
# Requires newer gtk-4 than what's available in default 22.04, therefore using docker
1314
container: ubuntu:24.04
1415

1516
env:
@@ -23,10 +24,15 @@ jobs:
2324
- name: Install deps
2425
run: |
2526
apt update
26-
apt install -y libgtk-4-dev cargo
27+
apt install -y libgtk-4-dev cargo rust-clippy
2728
2829
- name: Run sccache-cache
2930
uses: mozilla-actions/[email protected]
3031

3132
- run: cargo build --verbose
3233
- run: cargo test --verbose
34+
35+
- uses: giraffate/clippy-action@v1
36+
with:
37+
reporter: 'github-pr-review'
38+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)