[release-10.4.17] Chore: Bump Go version to 1.23.7 (#101565)
* Chore: Bump Go version to 1.23.7 * Chore: Bump golangci-lint version to match Go version * Chore: Fix new linting errors from Go upgrade * Chore: Fix OpenAPI step in CI * Chore: Fix OpenAPI spec diffs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.20.3-windowsservercore-1809
|
||||
FROM golang:1.23.7-windowsservercore-1809
|
||||
|
||||
SHELL ["powershell", "-command"]
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ def swagger_gen_step(ver_mode):
|
||||
"apk add --update git make",
|
||||
"make swagger-clean && make openapi3-gen",
|
||||
"for f in public/api-merged.json public/openapi3.json; do git add $f; done",
|
||||
'if [ -z "$(git diff --name-only --cached)" ]; then echo "Everything seems up to date!"; else echo "Please ensure the branch is up-to-date, then regenerate the specification by running make swagger-clean && make openapi3-gen" && return 1; fi',
|
||||
'if [ -z "$(git diff --name-only --cached)" ]; then echo "Everything seems up to date!"; else git diff --cached && echo "Please ensure the branch is up-to-date, then regenerate the specification by running make swagger-clean && make openapi3-gen" && return 1; fi',
|
||||
],
|
||||
"depends_on": [
|
||||
"clone-enterprise",
|
||||
|
||||
@@ -3,7 +3,7 @@ global variables
|
||||
"""
|
||||
|
||||
grabpl_version = "v3.1.2"
|
||||
golang_version = "1.22.11"
|
||||
golang_version = "1.23.7"
|
||||
|
||||
# nodejs_version should match what's in ".nvmrc", but without the v prefix.
|
||||
nodejs_version = "20.9.0"
|
||||
|
||||
Reference in New Issue
Block a user