Prepare Rust toolchain explicitly in CI
This commit is contained in:
@@ -11,6 +11,7 @@ env:
|
|||||||
CARGO_BUILD_JOBS: "2"
|
CARGO_BUILD_JOBS: "2"
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
RUST_TEST_THREADS: "2"
|
RUST_TEST_THREADS: "2"
|
||||||
|
RUSTUP_MAX_RETRIES: "3"
|
||||||
TESTCONTAINERS_RYUK_DISABLED: "true"
|
TESTCONTAINERS_RYUK_DISABLED: "true"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -22,6 +23,17 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
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
|
- name: Verify runner toolchain
|
||||||
run: |
|
run: |
|
||||||
python3 --version
|
python3 --version
|
||||||
@@ -104,6 +116,17 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
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
|
- name: Verify runner toolchain
|
||||||
run: |
|
run: |
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ env:
|
|||||||
MCP_SERVER_IMAGE: git.itexp.me/bsodfather/crank-community-mcp-server
|
MCP_SERVER_IMAGE: git.itexp.me/bsodfather/crank-community-mcp-server
|
||||||
UI_IMAGE: git.itexp.me/bsodfather/crank-community-ui
|
UI_IMAGE: git.itexp.me/bsodfather/crank-community-ui
|
||||||
OPENBAO_ENV_FILE: .openbao-env
|
OPENBAO_ENV_FILE: .openbao-env
|
||||||
|
RUSTUP_MAX_RETRIES: "3"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -22,6 +23,17 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
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
|
- name: Verify runner toolchain
|
||||||
run: |
|
run: |
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|||||||
Reference in New Issue
Block a user