mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
deps update go1.23.1 (#23972)
* deps: update to go1.23.1 * deps: update to golangci-lint 1.61.0
This commit is contained in:
@@ -1 +1 @@
|
||||
1.22.6
|
||||
1.23.1
|
||||
|
||||
@@ -141,7 +141,7 @@ deps: ## Install build and development dependencies
|
||||
.PHONY: lint-deps
|
||||
lint-deps: ## Install linter dependencies
|
||||
@echo "==> Updating linter dependencies..."
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.1
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0
|
||||
go install github.com/client9/misspell/cmd/misspell@v0.3.4
|
||||
go install github.com/hashicorp/go-hclog/hclogvet@v0.2.0
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ A development environment is supplied via Vagrant to make getting started easier
|
||||
|
||||
Developing without Vagrant
|
||||
---
|
||||
1. Install [Go 1.22.6+](https://golang.org/) *(Note: `gcc-go` is not supported)*
|
||||
1. Install [Go 1.23.1+](https://golang.org/) *(Note: `gcc-go` is not supported)*
|
||||
1. Clone this repo
|
||||
```sh
|
||||
$ git clone https://github.com/hashicorp/nomad.git
|
||||
|
||||
@@ -21,7 +21,7 @@ case $(arch) in
|
||||
esac
|
||||
|
||||
function install_go() {
|
||||
local go_version="1.22.6"
|
||||
local go_version="1.23.1"
|
||||
local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz"
|
||||
|
||||
if go version 2>&1 | grep -q "${go_version}"; then
|
||||
|
||||
@@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad"
|
||||
mkdir -p "${TMP_WORKSPACE}/tmp"
|
||||
|
||||
install_go() {
|
||||
local go_version="1.22.6"
|
||||
local go_version="1.23.1"
|
||||
local download=
|
||||
|
||||
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user