Prepare Rust toolchain explicitly in CI
This commit is contained in:
@@ -11,6 +11,7 @@ env:
|
||||
CARGO_BUILD_JOBS: "2"
|
||||
CARGO_INCREMENTAL: "0"
|
||||
RUST_TEST_THREADS: "2"
|
||||
RUSTUP_MAX_RETRIES: "3"
|
||||
TESTCONTAINERS_RYUK_DISABLED: "true"
|
||||
|
||||
jobs:
|
||||
@@ -22,6 +23,17 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Prepare Rust toolchain
|
||||
run: |
|
||||
rustup --version
|
||||
rustup toolchain list
|
||||
timeout 10m rustup toolchain install 1.85.0 \
|
||||
--profile minimal \
|
||||
--component clippy \
|
||||
--component rustfmt \
|
||||
--no-self-update
|
||||
rustup component list --toolchain 1.85.0 --installed
|
||||
|
||||
- name: Verify runner toolchain
|
||||
run: |
|
||||
python3 --version
|
||||
@@ -104,6 +116,17 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Prepare Rust toolchain
|
||||
run: |
|
||||
rustup --version
|
||||
rustup toolchain list
|
||||
timeout 10m rustup toolchain install 1.85.0 \
|
||||
--profile minimal \
|
||||
--component clippy \
|
||||
--component rustfmt \
|
||||
--no-self-update
|
||||
rustup component list --toolchain 1.85.0 --installed
|
||||
|
||||
- name: Verify runner toolchain
|
||||
run: |
|
||||
rustc --version
|
||||
|
||||
@@ -13,6 +13,7 @@ env:
|
||||
MCP_SERVER_IMAGE: git.itexp.me/bsodfather/crank-community-mcp-server
|
||||
UI_IMAGE: git.itexp.me/bsodfather/crank-community-ui
|
||||
OPENBAO_ENV_FILE: .openbao-env
|
||||
RUSTUP_MAX_RETRIES: "3"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -22,6 +23,17 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Prepare Rust toolchain
|
||||
run: |
|
||||
rustup --version
|
||||
rustup toolchain list
|
||||
timeout 10m rustup toolchain install 1.85.0 \
|
||||
--profile minimal \
|
||||
--component clippy \
|
||||
--component rustfmt \
|
||||
--no-self-update
|
||||
rustup component list --toolchain 1.85.0 --installed
|
||||
|
||||
- name: Verify runner toolchain
|
||||
run: |
|
||||
rustc --version
|
||||
|
||||
Reference in New Issue
Block a user