Feat: Integrate Goreleaser #685
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: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.22.4" | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Invoking go test | |
run: make test | |
- name: Invoking go bench test | |
run: make test-bench | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.22.4" | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: make build |