Skip to content

Commit 59eb9e0

Browse files
authored
use stable rust everywhere (#123)
1 parent d25f71f commit 59eb9e0

7 files changed

+22
-13
lines changed

.github/workflows/release-csharp-bindings.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
ref: master
2323

2424
- name: Install Rust
25-
uses: dtolnay/rust-toolchain@1.74.1
25+
uses: dtolnay/rust-toolchain@master
26+
with:
27+
toolchain: stable
2628

2729
- name: Install all of the relevant targets
2830
run: |

.github/workflows/release-java-bindings.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ jobs:
4444
with:
4545
ref: ${{ inputs.ref || github.ref }}
4646
- name: Install Rust
47-
uses: actions-rs/toolchain@v1
47+
uses: dtolnay/rust-toolchain@master
4848
with:
4949
toolchain: stable
50-
target: ${{ matrix.target }}
51-
override: true
50+
targets: ${{ matrix.target }}
5251
- name: Install cargo-binstall
5352
uses: taiki-e/install-action@cargo-binstall
5453
- name: Install Zig

.github/workflows/release-node-bindings.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ jobs:
6060
uses: actions/setup-node@v4
6161
with:
6262
node-version: 20
63-
- name: Install Rust toolchain
64-
uses: dtolnay/rust-toolchain@stable
63+
- name: Install Rust
64+
uses: dtolnay/rust-toolchain@master
6565
with:
66+
toolchain: stable
6667
targets: ${{ matrix.settings.target }}
68+
6769
# llvm-preview-tools are needed for xwin, because we are compiling assembly (blst)
6870
# Alternatively, you can install llvm
6971
- name: Install llvm-preview-tools

.github/workflows/release-rust-crates.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup toolchain
2727
uses: dtolnay/rust-toolchain@master
2828
with:
29-
toolchain: 1.66.0
29+
toolchain: stable
3030

3131
# These steps are in a specific order so crate dependencies are updated first
3232
- name: Publish bls12_381

.github/workflows/test-csharp-bindings.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v3
2727

28-
- name: Set up Rust
29-
uses: dtolnay/rust-toolchain@stable
28+
- name: Install Rust
29+
uses: dtolnay/rust-toolchain@master
30+
with:
31+
toolchain: stable
3032

3133
- name: Run compile script
3234
run: ./scripts/compile.sh csharp

.github/workflows/test-golang-bindings.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v3
2727

28-
- name: Set up Rust
29-
uses: dtolnay/rust-toolchain@stable
28+
- name: Install Rust
29+
uses: dtolnay/rust-toolchain@master
30+
with:
31+
toolchain: stable
3032

3133
- name: Run compile script
3234
run: ./scripts/compile.sh golang

.github/workflows/test-nim-bindings.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v3
2727

28-
- name: Set up Rust
29-
uses: dtolnay/rust-toolchain@stable
28+
- name: Install Rust
29+
uses: dtolnay/rust-toolchain@master
30+
with:
31+
toolchain: stable
3032

3133
- name: Run compile script
3234
run: ./scripts/compile.sh nim

0 commit comments

Comments
 (0)