diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3520703d9b3..2d88e371cb0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -81,13 +81,10 @@ jobs: if: ${{ matrix.target == 'x86_64-unknown-linux-musl'}} - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} - override: true - default: true - profile: minimal - name: Install Erlang (non-macos) uses: erlef/setup-beam@v1 @@ -237,12 +234,10 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: stable target: wasm32-unknown-unknown - profile: minimal - override: true - uses: actions/setup-node@v4 with: @@ -264,12 +259,9 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: stable - override: true - default: true - profile: minimal components: rustfmt - run: cargo fmt --all -- --check @@ -283,12 +275,9 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: stable - override: true - default: true - profile: minimal - name: Install cargo-deny run: | @@ -309,12 +298,9 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: stable - override: true - default: true - profile: minimal components: clippy - name: Handle Rust dependencies caching diff --git a/.github/workflows/release-nightly.yaml b/.github/workflows/release-nightly.yaml index f2b0727d213..77bbd7214ab 100644 --- a/.github/workflows/release-nightly.yaml +++ b/.github/workflows/release-nightly.yaml @@ -85,13 +85,12 @@ jobs: ./bin/add-nightly-suffix-to-versions.sh - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} - override: true - default: true - profile: minimal + + - name: Handle Rust dependencies caching uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d5c90de846c..17337c580c2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -42,13 +42,10 @@ jobs: uses: actions/checkout@v4 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} - override: true - default: true - profile: minimal - name: Handle Rust dependencies caching uses: Swatinem/rust-cache@v2