diff --git a/.github/workflows/fmt-and-lint.yml b/.github/workflows/fmt-and-lint.yml index a5804a0..6394a8e 100644 --- a/.github/workflows/fmt-and-lint.yml +++ b/.github/workflows/fmt-and-lint.yml @@ -18,12 +18,9 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - components: clippy, rustfmt - override: true - profile: minimal - toolchain: nightly-2023-06-01 + run: | + rustup toolchain install nightly-2023-06-01 --no-self-update --profile minimal --component clippy rustfmt + rustup default nightly-2023-06-01 - name: Cargo cache uses: ./.github/actions/cargo-cache @@ -45,13 +42,10 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - components: clippy - override: true - profile: minimal - toolchain: nightly-2023-06-01 - target: wasm32-unknown-unknown + run: | + rustup toolchain install nightly-2023-06-01 --no-self-update --profile=minimal --component clippy + rustup default nightly-2023-06-01 + rustup target add wasm32-unknown-unknown - name: Cargo cache uses: ./.github/actions/cargo-cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 263f2bc..1966e62 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,12 +21,9 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - components: clippy, rustfmt - override: true - profile: minimal - toolchain: nightly-2023-06-01 + run: | + rustup toolchain install nightly-2023-06-01 --no-self-update --profile minimal + rustup default nightly-2023-06-01 - name: Cargo cache uses: ./.github/actions/cargo-cache