Skip to content

Commit

Permalink
Single point of control on rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEntangledAndy committed Oct 26, 2024
1 parent fb9df1d commit 1499503
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
workflow_dispatch:

env:
rust_version: "1.84.0"

jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
Expand Down Expand Up @@ -178,7 +181,7 @@ jobs:
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
- name: Install ${{ matrix.arch }} Rust toolchain
run: |
rustup default 1.84.0
rustup default "${{ env.rust_version }}"
rustup target add ${TARGET}
env:
TARGET: ${{ matrix.target }}
Expand Down Expand Up @@ -285,7 +288,7 @@ jobs:
REPO_NAME: ${{ steps.docker_repo.outputs.DOCKER_NWO }}
- name: Install rust
run: |
rustup default 1.84.0
rustup default "${{ env.rust_version }}"
rustup toolchain install stable
- name: Install toml-cli
run: |
Expand Down Expand Up @@ -345,7 +348,7 @@ jobs:
uses: actions/checkout@v4
- name: Install rust
run: |
rustup default 1.84.0
rustup default "${{ env.rust_version }}"
rustup toolchain install stable
- name: Install toml-cli
run: |
Expand Down

0 comments on commit 1499503

Please sign in to comment.