Single point of control on rust version
This commit is contained in:
1 file changed
+6
-3
@@ -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
|
||||
@@ -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 }}
|
||||
@@ -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: |
|
||||
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user