mirror of https://github.com/status-im/consul.git
Pin lint-consul-retry to v1.3.0 (#19781)
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
This commit is contained in:
parent
790cb30173
commit
8f7f15e430
|
@ -156,7 +156,7 @@ jobs:
|
|||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- run: go install github.com/hashicorp/lint-consul-retry@master && lint-consul-retry
|
||||
- run: go install github.com/hashicorp/lint-consul-retry@v1.3.0 && lint-consul-retry
|
||||
|
||||
lint:
|
||||
needs:
|
||||
|
|
1
Makefile
1
Makefile
|
@ -20,6 +20,7 @@ PROTOC_GO_INJECT_TAG_VERSION='v1.3.0'
|
|||
PROTOC_GEN_GO_BINARY_VERSION='v0.1.0'
|
||||
DEEP_COPY_VERSION='bc3f5aa5735d8a54961580a3a24422c308c831c2'
|
||||
COPYWRITE_TOOL_VERSION='v0.16.4'
|
||||
LINT_CONSUL_RETRY_VERSION='v1.3.0'
|
||||
# Go imports formatter
|
||||
GCI_VERSION='v0.11.2'
|
||||
|
||||
|
|
|
@ -141,15 +141,20 @@ function proto_tools_install {
|
|||
}
|
||||
|
||||
function lint_install {
|
||||
local lint_consul_retry_version
|
||||
lint_consul_retry_version="$(make --no-print-directory print-LINT_CONSUL_RETRY_VERSION)"
|
||||
|
||||
local golangci_lint_version
|
||||
golangci_lint_version="$(make --no-print-directory print-GOLANGCI_LINT_VERSION)"
|
||||
|
||||
local gci_version
|
||||
gci_version="$(make --no-print-directory print-GCI_VERSION)"
|
||||
|
||||
install_unversioned_tool \
|
||||
install_versioned_tool \
|
||||
'lint-consul-retry' \
|
||||
'github.com/hashicorp/lint-consul-retry@master'
|
||||
'github.com/hashicorp/lint-consul-retry' \
|
||||
"${lint_consul_retry_version}" \
|
||||
'github.com/hashicorp/lint-consul-retry'
|
||||
|
||||
install_unversioned_tool \
|
||||
'enumcover' \
|
||||
|
|
Loading…
Reference in New Issue