diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d470cab4c1c..4bbf128dab3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,9 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master with: + toolchain: nightly-2022-12-27 components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 with: @@ -104,8 +105,9 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master with: + toolchain: nightly-2022-12-27 components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 with: @@ -143,8 +145,9 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master with: + toolchain: nightly-2022-12-27 components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 with: diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 1b33133fde88..dfee736c4ecf 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -23,8 +23,9 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master with: + toolchain: nightly-2022-12-27 components: llvm-tools-preview - uses: Swatinem/rust-cache@v2 with: @@ -68,7 +69,9 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly-2022-12-27 - name: Install cargo-udeps run: cargo install cargo-udeps --locked