Skip to content

Commit

Permalink
Merge pull request #3645 from alphagov/187200424-update-to-go-1-21
Browse files Browse the repository at this point in the history
Update to go 1.21
  • Loading branch information
monotypical committed Mar 25, 2024
2 parents db43857 + f95fd61 commit f548bf7
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate_buildpack_bump_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- cron: "0 9 1 * *"

env:
GO_VERSION: "1.20"
GO_VERSION: "1.21"
GIT_AUTHOR_NAME: github-actions
GIT_AUTHOR_EMAIL: github-actions@github.com
GITHUB_UNPRIV_USERNAME: ${{ secrets.GOVUK_PAAS_UNPRIVILEGED_BOT_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
PROMETHEUS_VERSION: "2.42.0"
DEPLOY_ENV: "github"
SHELLCHECK_VERSION: "0.7.1"
GO_VERSION: "1.20"
GO_VERSION: "1.21"
RUBY_VERSION: "3.1.0"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion common-go/basic_logit_client/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/alphagov/paas-cf/common-go/basic_logit_client

go 1.20
go 1.21

require code.cloudfoundry.org/lager v2.0.0+incompatible // indirect
8 changes: 4 additions & 4 deletions concourse/pipelines/create-cloudfoundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -662,14 +662,14 @@ resources:
source:
uri: https://github.com/alphagov/paas-accounts.git
branch: main
tag_filter: v0.25.0
tag_filter: v0.34.0

- name: paas-auditor
type: git
source:
uri: https://github.com/alphagov/paas-auditor.git
branch: main
tag_filter: v0.75.0
tag_filter: v0.76.0

- name: paas-admin
type: git
Expand All @@ -684,7 +684,7 @@ resources:
source:
uri: https://github.com/alphagov/paas-prometheus-endpoints.git
branch: main
tag_filter: v0.19.0
tag_filter: v0.20.0

- name: prometheus-manifest-pre-vars
type: s3-iam
Expand Down Expand Up @@ -3285,7 +3285,7 @@ jobs:
- logit-syslog-drain
env:
GO_INSTALL_PACKAGE_SPEC: github.com/nerdswords/yet-another-cloudwatch-exporter/cmd/yace
GOVERSION: go1.20
GOVERSION: go1.21
EOF
cat << EOF > manifest.yml
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alphagov/paas-cf

go 1.20
go 1.21

require (
github.com/ProtonMail/gopenpgp/v2 v2.5.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ applications:
command: "./bin/app-autoscaler-cpu-usage"

env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/platform-tests/example-apps/app-autoscaler-cpu-usage

DURATION: 11m
Expand All @@ -29,7 +29,7 @@ applications:
no-route: true

env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/platform-tests/example-apps/app-autoscaler-cpu-usage

DURATION: 13m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ applications:
buildpacks: [go_buildpack]
stack: cflinuxfs4
env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/platform-tests/example-apps/healthcheck-pinger
UPSTREAM: http://healthcheck-ponger.apps.internal:8080
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ applications:
stack: cflinuxfs4

env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/platform-tests/example-apps/healthcheck-ponger

routes:
Expand Down
2 changes: 1 addition & 1 deletion platform-tests/example-apps/healthcheck/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alphagov/paas-cf/platform-tests/example-apps/healthcheck

go 1.20
go 1.21

require (
github.com/aws/aws-sdk-go v1.43.37
Expand Down
2 changes: 1 addition & 1 deletion platform-tests/example-apps/healthcheck/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ applications:
buildpacks: [go_buildpack]
stack: cflinuxfs4
env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/platform-tests/example-apps/healthcheck
2 changes: 1 addition & 1 deletion platform-tests/example-apps/http-tester/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/alphagov/paas-cf/platform-tests/example-apps/http-tester

go 1.20
go 1.21
2 changes: 1 addition & 1 deletion platform-tests/example-apps/http-tester/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ applications:
buildpacks: [go_buildpack]
command: ./bin/http-tester; sleep 1; echo 'done'
env:
GOVERSION: go1.20
GOVERSION: go1.21
2 changes: 1 addition & 1 deletion platform-tests/example-apps/logging-pipeline/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ applications:
buildpacks: [go_buildpack]
stack: cflinuxfs4
env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/platform-tests/example-apps/logging-pipeline
2 changes: 1 addition & 1 deletion tools/metrics/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alphagov/paas-cf/tools/metrics

go 1.20
go 1.21

require (
code.cloudfoundry.org/lager v2.0.0+incompatible
Expand Down
2 changes: 1 addition & 1 deletion tools/metrics/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ applications:
buildpack: go_buildpack
stack: cflinuxfs4
env:
GOVERSION: go1.20
GOVERSION: go1.21
GOPACKAGENAME: github.com/alphagov/paas-cf/tools/metrics
command: ./bin/metrics
2 changes: 1 addition & 1 deletion tools/pipecleaner/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alphagov/paas-cf/tools/pipecleaner

go 1.20
go 1.21

require (
github.com/concourse/concourse v1.6.1-0.20201028190452-248606d42c17
Expand Down
2 changes: 1 addition & 1 deletion tools/user_emails/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.20
go 1.21

0 comments on commit f548bf7

Please sign in to comment.