ci(build): fix clippy, add fmt check

This commit is contained in:
Jake Stanger
2022-08-15 21:16:18 +01:00
parent 226bca632e
commit 96ff974b82

View File

@@ -11,7 +11,6 @@ env:
jobs:
build:
runs-on: ubuntu-latest
steps:
@@ -23,5 +22,11 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --verbose
- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Check formatting
run: cargo fmt --check