Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use stable rust everywhere with dtolnay github action #123

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/release-csharp-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
ref: master

- name: Install Rust
uses: dtolnay/rust-toolchain@1.74.1
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Install all of the relevant targets
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-java-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ jobs:
with:
ref: ${{ inputs.ref || github.ref }}
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
targets: ${{ matrix.target }}
- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall
- name: Install Zig
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: ${{ matrix.settings.target }}

# llvm-preview-tools are needed for xwin, because we are compiling assembly (blst)
# Alternatively, you can install llvm
- name: Install llvm-preview-tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-rust-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.66.0
toolchain: stable

# These steps are in a specific order so crate dependencies are updated first
- name: Publish bls12_381
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-csharp-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Run compile script
run: ./scripts/compile.sh csharp
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-golang-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Run compile script
run: ./scripts/compile.sh golang
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-nim-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Run compile script
run: ./scripts/compile.sh nim
Expand Down
Loading