diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ee9889..ef20ad5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - run: apt-get update && apt-get install -y libudev-dev + - run: sudo apt-get update && sudo apt-get install -y libudev-dev - run: cargo test working-directory: bestool audit: @@ -19,7 +19,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: components: clippy,rustfmt - - run: apt-get update && apt-get install -y libudev-dev + - run: sudo apt-get update && sudo apt-get install -y libudev-dev - run: cargo install cargo-audit working-directory: bestool - run: cargo install --locked cargo-vet @@ -36,6 +36,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - run: apt-get update && apt-get install -y libudev-dev + - run: sudo apt-get update && sudo apt-get install -y libudev-dev - run: cargo build working-directory: bestool \ No newline at end of file