Limit finalized header gap #5
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: relayer | |
on: | |
push: | |
paths: | |
- "relayer/**" | |
branches: | |
- main | |
pull_request: | |
paths: | |
- "relayer/**" | |
jobs: | |
build: | |
runs-on: snowbridge-runner | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Download dependencies | |
run: go mod download | |
- name: Install Mage | |
run: go install github.com/magefile/mage@latest | |
- name: Run Mage Build Task | |
run: mage build | |
env: | |
GO111MODULE: on | |
- name: Run tests | |
run: go test -v ./... |