catchup: state-proof-based catchup #6115
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: "codegen verification" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
codegen_verification: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
path: go-algorand | |
- name: Uninstall existing go installation | |
run: sudo apt-get -y -q purge golang-go | |
- name: Run codegen_verification.sh | |
run: | | |
export GOPATH="${GITHUB_WORKSPACE}/go" | |
cd go-algorand | |
scripts/travis/codegen_verification.sh | |
- name: Slack Notification | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
run: | | |
curl -X POST --data-urlencode "payload={\"text\": \"Codegen verification failed. ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}" $SLACK_WEBHOOK | |
if: ${{ failure() && (contains(github.ref_name, 'rel/nightly') || contains(github.ref_name, 'rel/beta') || contains(github.ref_name, 'rel/stable') || contains(github.ref_name, 'master')) }} |