From 824e76ebe44335e4cea6ae81e1afd0e3573beae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=B8rl=C3=BCck=20Berg?= <36937807+henrikhorluck@users.noreply.github.com> Date: Sun, 13 Aug 2023 15:20:48 +0200 Subject: [PATCH] Make CI use the workspace, so we format/check all --- .github/workflows/rust_checks.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust_checks.yml b/.github/workflows/rust_checks.yml index bb474891f..b8d70923c 100644 --- a/.github/workflows/rust_checks.yml +++ b/.github/workflows/rust_checks.yml @@ -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