Skip to content

Commit

Permalink
Upgrade CI's clippy to giraffate/clippy-action.
Browse files Browse the repository at this point in the history
This action integrates Clippy with reviewdog for an "improved code
review experience."
  • Loading branch information
tikue committed Feb 3, 2024
1 parent 43f8c2b commit d9f7960
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- master

name: Continuous integration
name: Continuous Integration

jobs:
check:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/pr_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Review
on: [pull_request]
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ github.token }}

0 comments on commit d9f7960

Please sign in to comment.