Skip to content

Bump golangci/golangci-lint-action from 3 to 4 #32

Bump golangci/golangci-lint-action from 3 to 4

Bump golangci/golangci-lint-action from 3 to 4 #32

Workflow file for this run

name: CI
on:
push:
branches: main
paths-ignore:
- "README.md"
- "docs/**"
pull_request:
branches: main
paths-ignore:
- "README.md"
- "docs/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.17
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go build -v
- name: Unit tests
run: go test -v ./...