From 0b804f5bed60dab5d541d40a42a5948b76b9ded2 Mon Sep 17 00:00:00 2001 From: Neshura Date: Tue, 19 Dec 2023 23:24:15 +0100 Subject: [PATCH] Manually specify Cargo.toml path for clippy --- .forgejo/workflows/build+release.yml | 2 +- .forgejo/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index c8943b4..232e6b3 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -35,7 +35,7 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Run Clippy - run: cargo clippy + run: cargo clippy --manifest-path ./src/Cargo.toml - name: Check if Version in Cargo.toml matches Tag run: | diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 18d1fb1..deeef16 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -37,4 +37,4 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Run Clippy - run: cargo clippy \ No newline at end of file + run: cargo clippy --manifest-path ./src/Cargo.toml \ No newline at end of file