Skip to content

Commit

Permalink
Add GitHub action that runs clippy on every push
Browse files Browse the repository at this point in the history
This is copy-pasted from https://github.com/marketplace/actions/rust-clippy-check

Test Plan: submit this commit as pull request, check this action is executed

Reviewers: jozef-mokry

Reviewed By: jozef-mokry

Pull Request: #37
  • Loading branch information
Sven Over authored May 23, 2022
1 parent a59467b commit d861447
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: push
name: Clippy check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

0 comments on commit d861447

Please sign in to comment.