Skip to content

Commit

Permalink
ci: Run clippy via GH Actions (#342)
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
  • Loading branch information
pitbuster and Felipe Contreras Salinas authored May 6, 2024
1 parent 5d4338e commit f6168c8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/clippy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Clippy

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


jobs:
lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Toolchain setup
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt

- name: Clippy
run: cargo clippy -- --all-features -Dwarnings

0 comments on commit f6168c8

Please sign in to comment.