ci(github): add common cargo checks

This commit is contained in:
LGUG2Z
2024-03-03 13:31:20 -08:00
parent 7b24474ef2
commit 3690f8ebd8

View File

@@ -73,6 +73,11 @@ jobs:
- name: Install the target
run: |
rustup target install ${{ matrix.target }}
- name: Run Cargo checks
run: |
cargo fmt --check
cargo check
cargo clippy
- name: Run a full build
run: |
cargo build --locked --release --target ${{ matrix.target }}