From dd34ee542719ed9571ccf731072f3a93d28ff1fb Mon Sep 17 00:00:00 2001 From: LeChatP Date: Mon, 9 Sep 2024 19:29:16 +0200 Subject: [PATCH] Attempt fix workflow --- .github/workflows/pkg.yml | 2 +- .github/workflows/quality.yml | 2 +- .github/workflows/tests.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index db24834..ff4313d 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -25,7 +25,7 @@ jobs: override: true - name: Install Dependencies - run: sudo cargo xtask dependencies -i -d + run: sudo $(command -v cargo) xtask dependencies -i -d - name: Build run: cargo xtask deploy debian redhat diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 9dfd82d..d45f10a 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -41,7 +41,7 @@ jobs: override: false - name: Install Dependencies - run: sudo -E cargo xtask dependencies -di + run: sudo $(command -v cargo) xtask dependencies -di # if pull request review only - uses: mbrobbel/rustfmt-check@master diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 10610ae..548ffaf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: run: apt install sudo -y - name: Install Dependencies - run: sudo -E cargo xtask dependencies -di + run: sudo $(command -v cargo) xtask dependencies -di - name: run tests with coverage run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --bin chsr --bin sr --exclude-files build.rs xtask* --out Xml