Add lint workflow to run cargo clippy

This commit is contained in:
Héctor Ramón Jiménez 2022-07-09 18:07:18 +02:00
parent 2f76a10a1d
commit d53cc5498b
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

12
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: Lint
on: [push, pull_request]
jobs:
all:
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@v1
with:
components: clippy
- uses: actions/checkout@master
- name: Check lints
run: cargo clippy --all --no-deps