Add GitHub `lint` workflow

This commit is contained in:
Héctor Ramón Jiménez 2024-07-13 15:51:54 +02:00
parent 5b6ca3d933
commit 8a57bae601
No known key found for this signature in database
GPG Key ID: 7CC46565708259A7
1 changed files with 12 additions and 0 deletions

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

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