refactor: move shared interfaces and errors to proto #1784
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
uses: charmbracelet/meta/.github/workflows/build.yml@main | |
snapshot: | |
uses: charmbracelet/meta/.github/workflows/snapshot.yml@main | |
secrets: | |
goreleaser_key: ${{ secrets.GORELEASER_KEY }} | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ^1 | |
- name: Test | |
run: go test -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./... -timeout 5m | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: ./coverage.txt |