fix: enhance block fetching with cancellation and error handling #280
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: Go | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.go' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**.go' | |
workflow_dispatch: { } | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.20' | |
cache: true | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test |