chore(testnet): decommission StakeAngle #764
This file contains hidden or 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: Validate JSON files | |
| on: | |
| pull_request: | |
| paths: | |
| - "testnet/*.json" | |
| - "mainnet/*.json" | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - run: pip install -r scripts/requirements.txt | |
| - name: Validating changed files | |
| env: | |
| MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
| TESTNET_RPC_URL: ${{ secrets.TESTNET_RPC_URL }} | |
| run: | | |
| git fetch origin ${{ github.base_ref }} | |
| git diff --name-only --diff-filter=d origin/${{ github.base_ref }}...HEAD \ | |
| | grep -E '^(testnet|mainnet)/[^/]+\.json$' \ | |
| | xargs --no-run-if-empty python scripts/validate_many.py |