Skip to content
Prev Previous commit
Next Next commit
Revert rustup changes
  • Loading branch information
ShaharNaveh committed Mar 31, 2026
commit 9d71f4005f0e020697d6894c4469ee4788e8345b
35 changes: 24 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
with:
persist-credentials: false

- run: rustup toolchain install stable

- name: Install clippy
run: rustup component add clippy --toolchain=stable
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
components: clippy
toolchain: stable

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand Down Expand Up @@ -251,7 +251,9 @@ jobs:
with:
persist-credentials: false

- run: rustup toolchain install stable
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
toolchain: stable

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand Down Expand Up @@ -364,7 +366,10 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- run: rustup component add rustfmt --toolchain=stable
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
toolchain: stable
components: rustfmt

- uses: cargo-bins/cargo-binstall@113a77a4ce971c41332f2129c3d995df993cf746 # v1.17.8

Expand Down Expand Up @@ -414,13 +419,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
RUSTUP_TOOLCHAIN: nightly
NIGHTLY_CHANNEL: nightly
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- run: rustup component add miri --toolchain="${{ env.RUSTUP_TOOLCHAIN }}"
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
toolchain: ${{ env.NIGHTLY_CHANNEL }}
components: miri

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand All @@ -443,8 +451,10 @@ jobs:
with:
persist-credentials: false

- name: Install clippy
run: rustup component add clippy --toolchain=stable
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
components: clippy
toolchain: stable

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand Down Expand Up @@ -519,7 +529,10 @@ jobs:
with:
persist-credentials: false

- run: rustup toolchain install stable --target wasm32-wasip1
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9
with:
target: wasm32-wasip1
toolchain: stable

- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand Down