Skip to content

Commit

Permalink
Create clippy formatting workflow for PRs (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM authored Jan 19, 2024
1 parent b07e572 commit 41336d3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Clippy check

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
clippy_check:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

0 comments on commit 41336d3

Please sign in to comment.