ci: bump golangci-lint to v1.62.0 #538
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "CI" | |
on: | |
push: | |
paths: | |
- '.github/workflows/*' | |
- 'controllers/*' | |
- 'vendor/*' | |
- 'go.mod' | |
- 'go.sum' | |
- 'main.go' | |
jobs: | |
build: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run go fmt | |
run: make fmt | |
- name: Run go vet | |
run: make vet | |
- name: Run go lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.62.0 | |
args: --timeout 5m --enable revive,gofmt,copyloopvar --exclude-use-default=false --modules-download-mode=vendor --build-tags integration | |
- name: Run go test | |
run: make test | |