Skip to content

Update module github.com/golangci/golangci-lint to v1.63.2 (#224) #436

Update module github.com/golangci/golangci-lint to v1.63.2 (#224)

Update module github.com/golangci/golangci-lint to v1.63.2 (#224) #436

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
- id: toolchain
run: echo "version=$(sed -ne '/^toolchain /s/^toolchain go//p' go.mod)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ steps.toolchain.outputs.version }}
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@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.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
- id: toolchain
run: echo "version=$(sed -ne '/^toolchain /s/^toolchain go//p' go.mod)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ steps.toolchain.outputs.version }}
cache-dependency-path: go.sum
- run: go mod tidy
- uses: int128/update-generated-files-action@7eb71af1ae8e30d970ea5512d23fd2f4b0eae44c # v2.56.0