Skip to content

Commit

Permalink
CI: switch all rust toolchains to setup-rust (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Sep 6, 2023
1 parent cd78e6e commit 9f4fbbf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bindings-nodejs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
with:
python-version: "3.10"

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up Rust
uses: ./.github/actions/setup-rust

# This step can be removed as soon as official Windows arm64 builds are published:
# https://github.com/nodejs/build/issues/2450#issuecomment-705853342
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bindings-wallet-covector-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
with:
python-version: "3.10"

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up Rust
uses: ./.github/actions/setup-rust

# This step can be removed as soon as official Windows arm64 builds are published:
# https://github.com/nodejs/build/issues/2450#issuecomment-705853342
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bindings-wasm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up Rust
uses: ./.github/actions/setup-rust
with:
target: "wasm32-unknown-unknown"

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cli-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: install rust stable
uses: dtolnay/rust-toolchain@stable

- name: Set up Rust
uses: ./.github/actions/setup-rust

- name: Install required packages (Ubuntu)
if: matrix.os == 'ubuntu-latest'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/private-tangle-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up Rust
uses: ./.github/actions/setup-rust

- name: Install required packages
run: |
Expand Down

0 comments on commit 9f4fbbf

Please sign in to comment.