Skip to content

Commit

Permalink
adding clippy as linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramilito committed Dec 13, 2023
1 parent ca62c7b commit f3130a5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/run_linters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: clippy-action
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: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f3130a5

Please sign in to comment.