Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 #19
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: Go | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
goreleaser: | |
name: Goreleaser Dry | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
check-latest: true | |
cache: true | |
- name: Validate | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: check | |
- name: Dry Run | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: release --clean --skip-validate --skip-publish | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
check-latest: true | |
cache: true | |
- name: Format | |
run: make format | |
- name: Lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.51 | |
- name: Test | |
run: make test | |
- name: Build | |
run: make build | |
- name: Archive generatated artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: bin | |
if-no-files-found: error | |
path: | | |
bin |