Add Action for automated Updates of Geth and Prysm #8
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: Testnet Deployment CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
testnet: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Set up Go 1.20 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.8' | |
- name: Install JQ | |
run: sudo apt-get install jq | |
- name: Build dependencies | |
run: ./build-dependencies.sh | |
- name: Start Testnet | |
run: | | |
./testnet.sh & | |
sleep 60 | |
- name: Run Health check | |
run: ./healthcheck.sh |