on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Go uses: actions/setup-go@v3 with: go-version: 1.19 - name: Install Protoc run: | sudo apt install -y protobuf-compiler go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 - name: Test run: make test - name: Build run: make build