fix linter

This commit is contained in:
Michel Loiseleur 2024-08-23 09:24:28 +02:00
parent 35cb2494d5
commit 0ec66ee669
Failed to extract signature
2 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: go.mod go-version-file: go.mod
id: go
- name: Lint - name: Lint
uses: golangci/golangci-lint-action@v6 uses: golangci/golangci-lint-action@v6
with: with:
args: --timeout=30m
version: v1.60 version: v1.60

View File

@ -41,7 +41,7 @@ CONTROLLER_GEN=$(shell which controller-gen)
endif endif
golangci-lint: golangci-lint:
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.1 @command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3
# Run the golangci-lint tool # Run the golangci-lint tool
.PHONY: go-lint .PHONY: go-lint