Skip to content

ci: Bump actions/checkout from 4.0.0 to 4.1.0 #150

ci: Bump actions/checkout from 4.0.0 to 4.1.0

ci: Bump actions/checkout from 4.0.0 to 4.1.0 #150

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@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Run static checks
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc
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