Skip to content

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#38) #67

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#38)

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#38) #67

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.18.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --timeout=5m
install-mode: binary
- name: Tests
run: |
go mod tidy
go test -v ./...
go test -cpu=1 -short -race ./...
go test -cpu=4 -short -race ./...
go-releaser-check:
needs: build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v3
- name: goreleaser deprecation
run: curl -sfL https://git.io/goreleaser | VERSION=v1.2.5 sh -s -- check
- name: goreleaser snapshot
run: curl -sL https://git.io/goreleaser | VERSION=v1.2.5 sh -s -- --snapshot --skip-publish --rm-dist