From 83caf7a863df0c4db9831ca23dba36ad6ef3aa48 Mon Sep 17 00:00:00 2001 From: grandizzy Date: Fri, 19 Dec 2025 13:21:42 +0200 Subject: [PATCH 1/2] chore: disable testnet check --- .github/workflows/ci-tempo.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-tempo.yml b/.github/workflows/ci-tempo.yml index bef76ae47..1e108dcf8 100644 --- a/.github/workflows/ci-tempo.yml +++ b/.github/workflows/ci-tempo.yml @@ -40,13 +40,13 @@ jobs: cargo install --path ./crates/forge --profile dev --force --locked cargo install --path ./crates/cast --profile dev --force --locked - - name: Run Tempo check on testnet - env: - TEMPO_RPC_URL: ${{ secrets.TEMPO_TESTNET_RPC_URL }} - VERIFIER_URL: ${{ secrets.VERIFIER_URL }} - run: | - chmod +x ./.github/scripts/tempo-check.sh - ./.github/scripts/tempo-check.sh +# - name: Run Tempo check on testnet +# env: +# TEMPO_RPC_URL: ${{ secrets.TEMPO_TESTNET_RPC_URL }} +# VERIFIER_URL: ${{ secrets.VERIFIER_URL }} +# run: | +# chmod +x ./.github/scripts/tempo-check.sh +# ./.github/scripts/tempo-check.sh - name: Run Tempo check on devnet env: From 5f6591852765d3f07068e217029a2dcbf0668e65 Mon Sep 17 00:00:00 2001 From: grandizzy Date: Fri, 19 Dec 2025 14:45:13 +0200 Subject: [PATCH 2/2] make check workflow conditional --- .github/workflows/ci-tempo.yml | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-tempo.yml b/.github/workflows/ci-tempo.yml index 1e108dcf8..e70778f57 100644 --- a/.github/workflows/ci-tempo.yml +++ b/.github/workflows/ci-tempo.yml @@ -7,6 +7,15 @@ on: branches: [master] pull_request: workflow_dispatch: + inputs: + network: + description: "Tempo network to check" + required: true + type: choice + options: + - testnet + - devnet + - all concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -40,15 +49,23 @@ jobs: cargo install --path ./crates/forge --profile dev --force --locked cargo install --path ./crates/cast --profile dev --force --locked -# - name: Run Tempo check on testnet -# env: -# TEMPO_RPC_URL: ${{ secrets.TEMPO_TESTNET_RPC_URL }} -# VERIFIER_URL: ${{ secrets.VERIFIER_URL }} -# run: | -# chmod +x ./.github/scripts/tempo-check.sh -# ./.github/scripts/tempo-check.sh + - name: Run Tempo check on testnet + if: | + github.event_name == 'pull_request' || + github.event.inputs.network == 'testnet' || + github.event.inputs.network == 'all' + env: + TEMPO_RPC_URL: ${{ secrets.TEMPO_TESTNET_RPC_URL }} + VERIFIER_URL: ${{ secrets.VERIFIER_URL }} + run: | + chmod +x ./.github/scripts/tempo-check.sh + ./.github/scripts/tempo-check.sh - name: Run Tempo check on devnet + if: | + github.event_name == 'pull_request' || + github.event.inputs.network == 'devnet' || + github.event.inputs.network == 'all' env: TEMPO_RPC_URL: ${{ secrets.TEMPO_DEVNET_RPC_URL }} run: |