diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index e19a14cf..26b4813b 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -11,9 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable components: rustfmt, clippy - run: cargo install cargo-audit && cargo audit || true && cargo audit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 56b81340..82316d2c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,9 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable components: rustfmt, clippy - run: cargo fmt -- --check && cargo clippy --all-features -- -Dwarnings && cargo test --all-features