refactor!: Merge GetVerifiedRange
and GetRangeByHeight
in Getter interface and remove redundant endpoint
#302
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: go-header CI | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: go build -v ./... | |
- name: Test & Coverage | |
run: | | |
go install github.com/ory/go-acc@v0.2.6 | |
go-acc -o coverage.txt ./... -- -v --race | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: ./coverage.txt |