diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7236623f..88166533 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,18 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: rustfmt - run: cargo fmt --all -- --check clippy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: clippy - run: cargo clippy --all-targets --all-features -- -D warnings audit: @@ -72,9 +66,6 @@ jobs: sanitizer: [address, leak, memory, thread] steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: rust-src - run: cargo test --tests --all-features --workspace --target x86_64-unknown-linux-gnu -Zbuild-std -Zunstable-options --config='build.rustflags = ["-Zsanitizer=${{ matrix.sanitizer }}"]' -- --test-threads=1 env: CC: "clang" @@ -113,9 +104,6 @@ jobs: target: x86_64-apple-darwin steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: rust-src targets: ${{ matrix.target }} - run: sudo apt install -y musl-tools if: runner.os == 'Linux' diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf9..ac2dca2e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] -channel = "nightly" +channel = "nightly-2024-06-21" +components = ["rust-src"]