mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
build: upgrade to go1.22 (#20066)
* build: upgrade to go1.22 * add cl * build: use codecgen from go-msgpack v1.1.5+base32 and stringer 0.18.0 for compatability with go1.22 * ci: update golangci-lint to 1.56.2 * build: update hclogvet for go1.22 * build: bump to go1.22.1
This commit is contained in:
@@ -135,19 +135,19 @@ deps: ## Install build and development dependencies
|
||||
go install gotest.tools/gotestsum@v1.10.0
|
||||
go install github.com/hashicorp/hcl/v2/cmd/hclfmt@d0c4fa8b0bbc2e4eeccd1ed2a32c2089ed8c5cf1
|
||||
go install github.com/golang/protobuf/protoc-gen-go@v1.3.4
|
||||
go install github.com/hashicorp/go-msgpack/codec/codecgen@v1.1.5
|
||||
go install github.com/hashicorp/go-msgpack/codec/codecgen@v1.1.5+base32
|
||||
go install github.com/bufbuild/buf/cmd/buf@v0.36.0
|
||||
go install github.com/hashicorp/go-changelog/cmd/changelog-build@latest
|
||||
go install golang.org/x/tools/cmd/stringer@v0.1.12
|
||||
go install golang.org/x/tools/cmd/stringer@v0.18.0
|
||||
go install github.com/hashicorp/hc-install/cmd/hc-install@v0.6.1
|
||||
go install github.com/shoenig/go-modtool@v0.2.0
|
||||
|
||||
.PHONY: lint-deps
|
||||
lint-deps: ## Install linter dependencies
|
||||
@echo "==> Updating linter dependencies..."
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.0
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2
|
||||
go install github.com/client9/misspell/cmd/misspell@v0.3.4
|
||||
go install github.com/hashicorp/go-hclog/hclogvet@v0.1.6
|
||||
go install github.com/hashicorp/go-hclog/hclogvet@v0.2.0
|
||||
|
||||
.PHONY: git-hooks
|
||||
git-dir = $(shell git rev-parse --git-dir)
|
||||
|
||||
Reference in New Issue
Block a user