Tutorial on how to convert a protobuf message and filter certain fields to a resulting map. #26
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: Tests coverage | |
on: [ "push", "pull_request" ] | |
jobs: | |
build: | |
name: Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go 1.21 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.21' | |
- name: Run tests with coverage | |
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./... | |
- uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |