Add style check

This commit is contained in:
Alex 2021-07-19 12:46:33 -04:00 committed by GitHub
parent e3211c3a01
commit 0d8062defb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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