Skip to content

Bump google.golang.org/grpc from 1.38.0 to 1.53.0 #91

Bump google.golang.org/grpc from 1.38.0 to 1.53.0

Bump google.golang.org/grpc from 1.38.0 to 1.53.0 #91

Workflow file for this run

---
name: ci
on: [push, pull_request]
jobs:
build-and-test:
name: build and test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16.3
- name: Build
run: go build -race ./...
- name: Test
run: go test -race `go list ./... | grep -v e2e`
go-lint:
name: go-lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golint
uses: Jerome1337/[email protected]
with:
golint-path: './...'
- name: golangci-lint
uses: golangci/[email protected]
with:
args: --timeout=10m --tests="false"
style-check:
name: gofmt and goimports
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16.3
- name: Install dependencies
run: |
go version
go get golang.org/x/tools/cmd/goimports
- name: gofmt and goimports
run: |
gofmt -l -d ./
goimports -l -d ./
checkgomod:
name: check go.mod and go.sum
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16.3
- run: go mod tidy
- name: Check for changes in go.mod or go.sum
run: |
git diff --name-only --exit-code go.mod || ( echo "Run go tidy" && false )
git diff --name-only --exit-code go.sum || ( echo "Run go tidy" && false )