Full Node Streaming Recurring snapshots (#2079) #1
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: Protocol Container Tests | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
paths: | |
- 'protocol/**' | |
push: | |
branches: | |
- main | |
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x | |
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x | |
paths: | |
- 'protocol/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
container-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./protocol | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- name: Build images | |
run: DOCKER_BUILDKIT=1 make test-container-build | |
- name: Run container tests | |
run: make test-container |