Skip to content

Update module github.com/golangci/golangci-lint to v1.61.0 #407

Update module github.com/golangci/golangci-lint to v1.61.0

Update module github.com/golangci/golangci-lint to v1.61.0 #407

Workflow file for this run

name: go
on:
pull_request:
paths:
- .github/workflows/go.yaml
- '**/*.go'
- '**/go.*'
- Makefile
push:
paths:
- .github/workflows/go.yaml
- '**/*.go'
- '**/go.*'
- Makefile
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: 1.23.3
cache-dependency-path: go.sum
- run: go test -v -race ./...
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: tools/go.mod
cache-dependency-path: tools/go.sum
- run: make lint
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: 1.23.3
cache-dependency-path: go.sum
- run: go mod tidy
- uses: int128/update-generated-files-action@757376506709ed3d87f14a80ca28a98736d52236 # v2.55.0