spv: Move getheaders stage to global syncer instead of per-peer #2437
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: Build and Test | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Go CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ["1.20", "1.21"] | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #4.1.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out source | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0 | |
- name: Build | |
run: go build ./... | |
- name: Test | |
run: | | |
sh ./run_tests.sh |