mirror of
https://github.com/containers/podman.git
synced 2025-06-23 18:59:30 +08:00
Merge pull request #18964 from cevich/renovate_golang_ci_lint
[CI:BUILD] Help Renovate manage the golangci-lint version
This commit is contained in:
6
Makefile
6
Makefile
@ -57,6 +57,10 @@ BUILDTAGS ?= \
|
||||
$(shell hack/libsubid_tag.sh) \
|
||||
exclude_graphdriver_devicemapper \
|
||||
seccomp
|
||||
# N/B: This value is managed by Renovate, manual changes are
|
||||
# possible, as long as they don't disturb the formatting
|
||||
# (i.e. DO NOT ADD A 'v' prefix!)
|
||||
GOLANGCI_LINT_VERSION := 1.53.3
|
||||
PYTHON ?= $(shell command -v python3 python|head -n1)
|
||||
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
|
||||
# ~/.local/bin is not in PATH on all systems
|
||||
@ -941,7 +945,7 @@ install.tools: .install.golangci-lint ## Install needed tools
|
||||
|
||||
.PHONY: .install.golangci-lint
|
||||
.install.golangci-lint:
|
||||
VERSION=1.53.3 ./hack/install_golangci.sh
|
||||
VERSION=$(GOLANGCI_LINT_VERSION) ./hack/install_golangci.sh
|
||||
|
||||
.PHONY: .install.swagger
|
||||
.install.swagger:
|
||||
|
Reference in New Issue
Block a user