chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.57.1 #56
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: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopen] # these are the defaults - synchronize means 'commits pushed to PR' | |
env: | |
GO_VERSION: '1.21.0' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Run tests and race detection | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go ${{ env.GO_VERSION }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Get dependencies | |
shell: bash | |
run: go get -v -t -d ./... | |
- name: Run tests with race detection | |
run: go test -v -race ./... | |
- name: Run dev tests with race detection | |
run: go test -v -tags=dev -race ./... | |
- name: Run consolelog tests with race detection | |
run: go test -v -tags=consolelog -race ./... | |
- name: Run Go Vulnerability Check | |
id: govulncheck | |
uses: golang/govulncheck-action@v1 | |
with: | |
go-version-input: ${{ env.GO_VERSION }} | |
go-package: ./... | |
golangci: | |
name: Run golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.54 | |
# Optional: show only new issues if it's a pull request. The default value is `false`. | |
only-new-issues: true |