mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-12 23:47:06 +00:00
Add style check
This commit is contained in:
parent
e3211c3a01
commit
0d8062defb
1 changed files with 12 additions and 0 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -42,3 +42,15 @@ jobs:
|
|||
override: true
|
||||
- run: rustup component add clippy
|
||||
- run: cargo clippy --all-features -- -Dclippy::all -Dclippy::pedantic
|
||||
style:
|
||||
name: Style
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- run: cargo fmt -- --check
|
||||
|
|
Loading…
Reference in a new issue