feat(wallet-dashboard): add grid for visual assets #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Split Cluster Check | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
jobs: | |
validate-mainnet: | |
if: github.event.pull_request.draft == false | |
runs-on: self-hosted | |
steps: | |
- name: checkout code repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run split cluster check script | |
id: mn-split-cluster-check | |
continue-on-error: true # if failure, continue to bisect | |
run: | | |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \ | |
scripts/compatibility/split-cluster-check.sh origin/mainnet ${{ github.sha }} | |
- name: Bisect | |
if: steps.mn-split-cluster-check.outcome == 'failure' && github.event_name == 'push' | |
run: | | |
git bisect start ${{ github.event.pull_request.head.sha }} origin/mainnet | |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \ | |
git bisect run scripts/split-cluster-check.sh origin/mainnet ${{ github.sha }} | |
git bisect reset | |
- name: Mark Failures | |
if: failure() | |
run: exit 1 | |
validate-testnet: | |
if: github.event.pull_request.draft == false | |
runs-on: self-hosted | |
steps: | |
- name: checkout code repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run split cluster check script | |
id: tn-split-cluster-check | |
continue-on-error: true # if failure, continue to bisect | |
run: | | |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \ | |
scripts/compatibility/split-cluster-check.sh origin/testnet ${{ github.sha }} | |
- name: Bisect | |
if: steps.tn-split-cluster-check.outcome == 'failure' && github.event_name == 'push' | |
run: | | |
git bisect start ${{ github.event.pull_request.head.sha }} origin/testnet | |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \ | |
git bisect run scripts/split-cluster-check.sh origin/testnet ${{ github.sha }} | |
git bisect reset | |
- name: Mark Failures | |
if: failure() | |
run: exit 1 |