fix build #15
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: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Fetch dependencies | |
run: go mod download -x | |
- name: Setup protoc | |
run: ./install-protoc.sh | |
- name: Install tools | |
run: go install -x github.com/goccmack/gocc github.com/awalterschulze/goderive github.com/gogo/protobuf/protoc-gen-gogo | |
- name: Generate | |
run: make regenerate | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
- name: Vet | |
run: make vet | |
- name: Errcheck | |
run: make errcheck | |
- name: Checklicencse | |
run: make checklicense | |
- name: Diff | |
run: make diff |