diff --git a/.github/actions/build_debug/action.yml b/.github/actions/build_debug/action.yml index 53c0584e59563..b7b1202666d0e 100644 --- a/.github/actions/build_debug/action.yml +++ b/.github/actions/build_debug/action.yml @@ -15,12 +15,9 @@ runs: version: '3.x' repo-token: ${{ inputs.github_token }} - - uses: actions-rs/toolchain@v1 - with: - target: ${{ matrix.config.target }} - toolchain: nightly - override: true - components: rustfmt, clippy + - name: Add rust target + shell: bash + run: rustup target add ${{ matrix.config.target }} # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 diff --git a/.github/actions/build_release/action.yml b/.github/actions/build_release/action.yml index 7c2e8e55d28bb..57b85b8757bd8 100644 --- a/.github/actions/build_release/action.yml +++ b/.github/actions/build_release/action.yml @@ -15,12 +15,9 @@ runs: version: '3.x' repo-token: ${{ inputs.github_token }} - - uses: actions-rs/toolchain@v1 - with: - target: ${{ matrix.config.target }} - toolchain: nightly - override: true - components: rustfmt, clippy + - name: Add rust target + shell: bash + run: rustup target add ${{ matrix.config.target }} # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 diff --git a/.github/actions/check/action.yml b/.github/actions/check/action.yml index 6462352ad42c9..0b5d5b29e5a5e 100644 --- a/.github/actions/check/action.yml +++ b/.github/actions/check/action.yml @@ -15,12 +15,6 @@ runs: version: '3.x' repo-token: ${{ inputs.github_token }} - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - components: rustfmt, clippy - # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 with: diff --git a/.github/actions/test_proxy_mode/action.yml b/.github/actions/test_proxy_mode/action.yml index 671d35fa79bfb..07b61e57e10ec 100644 --- a/.github/actions/test_proxy_mode/action.yml +++ b/.github/actions/test_proxy_mode/action.yml @@ -11,11 +11,9 @@ runs: - name: Maximize build space uses: ./.github/actions/cleanup - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - target: ${{ matrix.config.target }} - override: true + - name: Add rust target + shell: bash + run: rustup target add ${{ matrix.config.target }} # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 diff --git a/.github/actions/test_stateful_standalone/action.yml b/.github/actions/test_stateful_standalone/action.yml index fa2ec85f09a36..c3b83d490cde0 100644 --- a/.github/actions/test_stateful_standalone/action.yml +++ b/.github/actions/test_stateful_standalone/action.yml @@ -11,11 +11,9 @@ runs: - name: Maximize build space uses: ./.github/actions/cleanup - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - target: ${{ matrix.config.target }} + - name: Add rust target + shell: bash + run: rustup target add ${{ matrix.config.target }} # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 diff --git a/.github/actions/test_stateless_cluster/action.yml b/.github/actions/test_stateless_cluster/action.yml index 0978f926adc6b..210485f7e9824 100644 --- a/.github/actions/test_stateless_cluster/action.yml +++ b/.github/actions/test_stateless_cluster/action.yml @@ -11,11 +11,9 @@ runs: - name: Maximize build space uses: ./.github/actions/cleanup - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - target: ${{ matrix.config.target }} + - name: Add rust target + shell: bash + run: rustup target add ${{ matrix.config.target }} # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 diff --git a/.github/actions/test_stateless_standalone/action.yml b/.github/actions/test_stateless_standalone/action.yml index aa047fd77d360..678587fe619b9 100644 --- a/.github/actions/test_stateless_standalone/action.yml +++ b/.github/actions/test_stateless_standalone/action.yml @@ -11,11 +11,9 @@ runs: - name: Maximize build space uses: ./.github/actions/cleanup - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - target: ${{ matrix.config.target }} - override: true + - name: Add rust target + shell: bash + run: rustup target add ${{ matrix.config.target }} # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 diff --git a/.github/actions/test_unit/action.yml b/.github/actions/test_unit/action.yml index 53da666ce7238..16ffa7409be14 100644 --- a/.github/actions/test_unit/action.yml +++ b/.github/actions/test_unit/action.yml @@ -18,13 +18,6 @@ runs: version: '3.x' repo-token: ${{ inputs.github_token }} - - uses: actions-rs/toolchain@v1 - with: - target: ${{ matrix.config.target }} - toolchain: nightly - override: true - components: rustfmt, clippy - # If you need to reset the cache version, increment the number after `v` - uses: Swatinem/rust-cache@v1 with: