From 10cedce8860fe5d609236a33cbcdd20081e00784 Mon Sep 17 00:00:00 2001 From: maisamariwanta4-bit Date: Sat, 29 Aug 2026 16:02:53 +0000 Subject: [PATCH] ci(tooling): verify scripts/check-tools.sh runs successfully in CI Add a step to the init-smoke-test workflow that runs scripts/check-tools.sh to verify the CI environment's toolchain (Rust 1.95.0 and stellar-cli 22.8.2) and wasm32-unknown-unknown target are correctly installed and accessible. Also update the workflow trigger paths to include scripts/check-tools.sh so the workflow runs whenever the script is modified, catching any regressions in the verification script itself before they affect contributor experience. --- .github/workflows/init-smoke-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/init-smoke-test.yml b/.github/workflows/init-smoke-test.yml index b6f89b3..89135d4 100644 --- a/.github/workflows/init-smoke-test.yml +++ b/.github/workflows/init-smoke-test.yml @@ -5,12 +5,14 @@ on: paths: - "contracts/**" - "scripts/init-contracts.sh" + - "scripts/check-tools.sh" - ".github/workflows/init-smoke-test.yml" push: branches: [main] paths: - "contracts/**" - "scripts/init-contracts.sh" + - "scripts/check-tools.sh" env: CARGO_TERM_COLOR: always @@ -49,6 +51,9 @@ jobs: - name: Install Stellar CLI (pinned) run: cargo install --locked stellar-cli --version "$STELLAR_CLI_VERSION" + - name: Verify toolchain and environment with check-tools.sh + run: bash scripts/check-tools.sh + - name: Cache Cargo dependencies uses: actions/cache@v4 with: