File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1919 steps :
2020 - name : git checkout
2121 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+ with :
23+ persist-credentials : false
2224 - name : Set docker hub repo name
2325 run : echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
2426 - name : Push README to Dockerhub
4143 steps :
4244 - name : git checkout
4345 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46+ with :
47+ persist-credentials : false
4448 - name : Set quay.io org name
4549 run : echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
4650 - name : Set quay.io repo name
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161SKIP_GOLANGCI_LINT :=
6262GOLANGCI_LINT :=
6363GOLANGCI_LINT_OPTS ?=
64- GOLANGCI_LINT_VERSION ?= v2.1.5
64+ GOLANGCI_LINT_VERSION ?= v2.6.0
6565GOLANGCI_FMT_OPTS ?=
6666# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
6767# windows isn't included here because of the path separator being different.
@@ -139,7 +139,7 @@ common-deps:
139139update-go-deps:
140140 @echo ">> updating Go dependencies"
141141 @for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
142- $(GO) get -d $$m; \
142+ $(GO) get $$m; \
143143 done
144144 $(GO) mod tidy
145145
@@ -266,6 +266,10 @@ $(GOLANGCI_LINT):
266266 | sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION)
267267endif
268268
269+ .PHONY: common-print-golangci-lint-version
270+ common-print-golangci-lint-version:
271+ @echo $(GOLANGCI_LINT_VERSION)
272+
269273.PHONY: precheck
270274precheck::
271275
You can’t perform that action at this time.
0 commit comments