Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update golang version to 1.22.4 #3224

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .final_builds/packages/golang-1-linux/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ builds:
version: 8c04109541f4d504f5be559da433998bd459b0f45cd3654557cc3642cc4d2f60
blobstore_id: d2723887-4744-43c2-64e3-289fe6483132
sha1: sha256:efdf65bca81264d9110ec764be7edea1de341781a1ffe59c219db064d71d9fc3
9b1c8ec9041b82347748668b3d274d8183fcb3cb25dd99e8a3a367094836d743:
version: 9b1c8ec9041b82347748668b3d274d8183fcb3cb25dd99e8a3a367094836d743
blobstore_id: 380835de-8cff-4a99-5425-2dc5c7a937fa
sha1: sha256:acf4c2947a5581b8afa925d1bfbbdb35accc46034345576fcbab9ae4c082c44e
a53d60ed79d278964faa9bc17836ed3bc5f084c0f3d41110c8a6e0b2de5f2dc0:
version: a53d60ed79d278964faa9bc17836ed3bc5f084c0f3d41110c8a6e0b2de5f2dc0
blobstore_id: 39ce080a-6129-4622-6d8a-f07e063992eb
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concourse 7.10.0
direnv 2.34.0
gcloud 473.0.0
ginkgo 2.20.2
golang 1.22.3
golang 1.22.4
golangci-lint 1.60.3
java temurin-21.0.4+7.0.LTS
make 4.4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module apitester

go 1.22.3
go 1.22.4
4 changes: 2 additions & 2 deletions devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
"golangci-lint": "1.60.3",
"yq-go": "4.44.3",
"ginkgo": "2.20.2",
"go": "1.22.3",
"bundler": "latest",
"cloudfoundry-cli": "8.8.1",
"act": "latest",
"actionlint": "latest",
"cloudfoundry-cli": "8.8.1",
"google-cloud-sdk": "latest",
"go": "1.22.3",
"temurin-bin-21": "latest",
"ruby": "latest"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/golang-1-linux/spec.lock
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name: golang-1-linux
fingerprint: 15120b8865dac54af5d5a7d1d1bc4d35acd37c114c2398f9edb16323184de634
fingerprint: 9b1c8ec9041b82347748668b3d274d8183fcb3cb25dd99e8a3a367094836d743
2 changes: 1 addition & 1 deletion packages/golang-1-linux/vendored-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c35d64e785152d04e7aea49b2ee4b4988c33958d
d1cc520a6cbc298468d1e5055d71a0aea670cf10
2 changes: 1 addition & 1 deletion packages/golang-1-linux/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.3
1.22.4
12 changes: 9 additions & 3 deletions scripts/asdf2devbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ def get_installed_version(package):
try:
subprocess.run(['devbox', 'add', f"{program}@{version}"], check=True)
except subprocess.CalledProcessError:
# Fallback to latest in case the exact version is not available
subprocess.run(['devbox', 'add', f"{program}@latest"], check=True)
print(f"Could not find {program}@{version}, using latest instead:")
# Fallback to latest in case the exact version is not available and there's no previous version installed
if installed_version is None:
print(f"Could not find {program}@{version}, using latest instead")
subprocess.run(['devbox', 'add', f"{program}@latest"], check=True)
else:
# Readd the previously installed version
print(f"Could not find {program}@{version}, readding {program}@{installed_version}")
subprocess.run(['devbox', 'add', f"{program}@{installed_version}"], check=True)

subprocess.run(['devbox', 'info', program], check=True)
else:
print(f"{program}@{version} is already installed")
2 changes: 1 addition & 1 deletion src/acceptance/assets/app/go_app/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module code.cloudfoundry.org/app-autoscaler-release/src/acceptance/assets/app/go_app

go 1.22.3
go 1.22.4

require (
github.com/cloudfoundry-community/go-cfenv v1.18.0
Expand Down
2 changes: 1 addition & 1 deletion src/acceptance/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module acceptance

go 1.22.3
go 1.22.4

require (
github.com/cloudfoundry/cf-test-helpers/v2 v2.9.0
Expand Down
2 changes: 1 addition & 1 deletion src/autoscaler/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module code.cloudfoundry.org/app-autoscaler/src/autoscaler

go 1.22.3
go 1.22.4

require (
code.cloudfoundry.org/cfhttp/v2 v2.12.0
Expand Down
2 changes: 1 addition & 1 deletion src/changelog/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module changelog

go 1.22.3
go 1.22.4

require (
github.com/Masterminds/semver/v3 v3.3.0
Expand Down
2 changes: 1 addition & 1 deletion src/changeloglockcleaner/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module changeloglockcleaner

go 1.22.3
go 1.22.4

require (
github.com/go-sql-driver/mysql v1.8.1
Expand Down
Loading