Skip to content

Commit

Permalink
deps: bump go version to 1.22 (#5653)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal authored Mar 12, 2024
1 parent 756e243 commit 63be9d6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/actions/install-deps/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ runs:
using: "composite"
steps:
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
id: setup-go
with:
go-version-file: go.mod
check-latest: true
Expand All @@ -21,7 +22,9 @@ runs:
path: |
/usr/local/kubebuilder/bin
~/go/bin
key: ${{ runner.os }}-${{ inputs.k8sVersion }}-toolchain-cache-${{ hashFiles('hack/toolchain.sh') }}
# Added go version to compensate for this issue with govulncheck: https://github.com/golang/go/issues/65590. Could re-evaluate if this is necessary once the
# upstream go issue is corrected and if this is causing too many cache misses.
key: ${{ runner.os }}-${{ inputs.k8sVersion }}-${{ steps.setup-go.outputs.go-version }}-toolchain-cache-${{ hashFiles('hack/toolchain.sh') }}
- if: ${{ steps.cache-toolchain.outputs.cache-hit != 'true' }}
shell: bash
env:
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/aws/karpenter-provider-aws

go 1.21
go 1.22

require (
github.com/Pallinder/go-randomdata v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion test/hack/resource/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/karpenter-provider-aws/test/hack/resource

go 1.21
go 1.22

require (
github.com/aws/aws-sdk-go-v2 v1.22.1
Expand Down
2 changes: 1 addition & 1 deletion test/hack/soak/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/karpenter/test/hack/soak

go 1.21
go 1.22

require (
github.com/aws/aws-sdk-go v1.47.9
Expand Down
2 changes: 1 addition & 1 deletion tools/allocatable-diff/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/karpenter-provider-aws/tools/allocatable-diff

go 1.21
go 1.22

require (
github.com/aws/karpenter-provider-aws v0.33.1-0.20231206223517-f73ccfa65419
Expand Down
2 changes: 1 addition & 1 deletion tools/kompat/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/karpenter-provider-aws/tools/kompat

go 1.20
go 1.22

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

go 1.21
go 1.22

require (
github.com/google/docsy v0.6.0 // indirect
Expand Down

0 comments on commit 63be9d6

Please sign in to comment.