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