consortium-v2: only update snapshot's voter when it is not empty in header #860
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: Run Test | |
on: | |
push: | |
branches: | |
- master | |
- feat/rotating-validator | |
pull_request: | |
branches: | |
- master | |
- feat/rotating-validator | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repo' | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0 | |
- name: 'Setup Go' | |
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.3.0 | |
with: | |
go-version: '1.20' | |
- name: 'Go Test- Test Coverage' | |
run: make test |