Skip to content

Commit

Permalink
Bump to Go 1.23 (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
aqstack authored Jan 6, 2025
1 parent b6fbd22 commit 071b34a
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 13 deletions.
2 changes: 0 additions & 2 deletions packages/golang-1.22-linux/spec.lock

This file was deleted.

2 changes: 1 addition & 1 deletion packages/log-cache-cf-auth-proxy/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -e -u -x -o pipefail

# shellcheck source=/dev/null
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
source /var/vcap/packages/golang-1.23-linux/bosh/compile.env

go build -o "${BOSH_INSTALL_TARGET}/log-cache-cf-auth-proxy" ./cmd/cf-auth-proxy
2 changes: 1 addition & 1 deletion packages/log-cache-cf-auth-proxy/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-cf-auth-proxy

dependencies:
- golang-1.22-linux
- golang-1.23-linux

files:
- cmd/cf-auth-proxy/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-gateway/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e -u -x -o pipefail

# shellcheck source=/dev/null
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
source /var/vcap/packages/golang-1.23-linux/bosh/compile.env

VERSION=$(cat version)
go build \
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-gateway/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-gateway

dependencies:
- golang-1.22-linux
- golang-1.23-linux

files:
- cmd/gateway/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-syslog-server/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -e -u -x -o pipefail

# shellcheck source=/dev/null
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
source /var/vcap/packages/golang-1.23-linux/bosh/compile.env

go build -o "${BOSH_INSTALL_TARGET}/log-cache-syslog-server" ./cmd/syslog-server
2 changes: 1 addition & 1 deletion packages/log-cache-syslog-server/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-syslog-server

dependencies:
- golang-1.22-linux
- golang-1.23-linux

files:
- cmd/syslog-server/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -e -u -x -o pipefail

# shellcheck source=/dev/null
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
source /var/vcap/packages/golang-1.23-linux/bosh/compile.env

go build -o "${BOSH_INSTALL_TARGET}/log-cache" ./cmd/log-cache
2 changes: 1 addition & 1 deletion packages/log-cache/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache

dependencies:
- golang-1.22-linux
- golang-1.23-linux

files:
- cmd/log-cache/**/*.go
Expand Down
4 changes: 1 addition & 3 deletions src/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module code.cloudfoundry.org/log-cache

go 1.22.0

toolchain go1.22.10
go 1.23.0

require (
code.cloudfoundry.org/go-batching v0.0.0-20241223135445-b8f45a03eb70
Expand Down

0 comments on commit 071b34a

Please sign in to comment.