Make CI use the workspace, so we format/check all

This commit is contained in:
Henrik Hørlück Berg 2023-08-13 15:20:48 +02:00 committed by Johannes Altmanninger
parent 87df7b9adf
commit 824e76ebe4

View file

@ -16,9 +16,7 @@ jobs:
with:
rust-version: stable
- name: cargo fmt
run: |
cd fish-rust
cargo fmt --check --all
run: cargo fmt --check --all
clippy:
runs-on: ubuntu-latest
@ -37,6 +35,4 @@ jobs:
run: |
cmake -B build
- name: cargo clippy
run: |
cd fish-rust
cargo clippy --workspace --all-targets -- --deny=warnings
run: cargo clippy --workspace --all-targets -- --deny=warnings