Add lint workflow to run cargo clippy
This commit is contained in:
parent
2f76a10a1d
commit
d53cc5498b
1 changed files with 12 additions and 0 deletions
12
.github/workflows/lint.yml
vendored
Normal file
12
.github/workflows/lint.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue