Skip to content

Commit

Permalink
deps: bump go version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed Mar 11, 2024
1 parent cdcc235 commit b7856ff
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 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 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.0

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.0

require (
github.com/Masterminds/semver/v3 v3.2.1
Expand Down

0 comments on commit b7856ff

Please sign in to comment.