Skip to content

ci: Bump actions/setup-go from 5.1.0 to 5.2.0 #194

ci: Bump actions/setup-go from 5.1.0 to 5.2.0

ci: Bump actions/setup-go from 5.1.0 to 5.2.0 #194

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- v*
pull_request:
branches:
- master
- v*
jobs:
build:
strategy:
matrix:
go-version: ["1.15", "1.19", "1.20"]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Run static checks
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: v1.51.1
# use our .golangci.yml and configure output to be logged in the GHA, in addition to annotating the commit.
# see https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648 for output
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number --timeout 5m
skip-cache: true
- name: Build
run: go build
- name: Run unit tests
run: go test -v -race -cover