mirror of
https://github.com/simonask/libyaml-safer
synced 2025-02-17 04:48:29 +00:00
Run clippy in CI
This commit is contained in:
parent
d984aed5af
commit
9741a6dd27
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -27,3 +27,12 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@1.56.0
|
||||
- run: cargo check --lib
|
||||
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'pull_request'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@clippy
|
||||
- run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
|
||||
|
|
Loading…
Add table
Reference in a new issue