Add style check

This commit is contained in:
Serial 2021-07-19 12:43:30 -04:00
parent e3211c3a01
commit 662e08e1fe

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