Skip to content

ci: Bump actions/checkout from 4.1.4 to 4.1.5 #170

ci: Bump actions/checkout from 4.1.4 to 4.1.5

ci: Bump actions/checkout from 4.1.4 to 4.1.5 #170

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@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Run static checks
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc
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