Add rustfmt/clippy to the CI (#22)

This commit is contained in:
John Nunley 2022-12-22 14:15:09 -08:00 committed by GitHub
parent 5674886dfa
commit cf0b435790
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,17 @@ on:
branches: [main]
jobs:
Check_Formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
components: rustfmt
- name: Check Formatting
run: cargo +stable fmt --all -- --check
tests:
name: Tests
strategy: