Add GitHub `lint` workflow
This commit is contained in:
parent
5b6ca3d933
commit
8a57bae601
|
@ -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
|
Loading…
Reference in New Issue