This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Added RadiumBlock bootnodes to Polkadot, Kusama and Westend chain specs #20
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
# If a chainspec file is updated with new bootnodes, we check to make sure those bootnodes are contactable | |
name: Check new bootnodes | |
on: | |
pull_request: | |
paths: | |
- 'node/service/chain-specs/*.json' | |
jobs: | |
check_bootnodes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install polkadot | |
shell: bash | |
run: | | |
curl -L "$(curl -s https://api.github.com/repos/paritytech/polkadot/releases/latest \ | |
| jq -r '.assets | .[] | select(.name == "polkadot").browser_download_url')" \ | |
| sudo tee /usr/local/bin/polkadot > /dev/null | |
sudo chmod +x /usr/local/bin/polkadot | |
polkadot --version | |
- name: Check new bootnodes | |
shell: bash | |
run: | | |
scripts/ci/github/check_new_bootnodes.sh |