Revert protoc version change and update to protoc testdata. #115
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.3' | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.12.4' | |
- name: Unit tests | |
run: go test -v -coverprofile=cover.out ./... | |
- name: Send coverage | |
uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: cover.out | |
- name: Modver | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: bobg/modver@v2.5.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
pull_request_url: https://github.com/${{ github.repository }}/pull/${{ github.event.number }} |