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