Skip to content

Commit

Permalink
Bump Go version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
sp1999 committed Jul 23, 2024
1 parent 71a3e4e commit f3df8ad
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true
cache: true
- name: Run go test with coverage
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.2
version: v1.59.1
only-new-issues: true
# Disable package caching to avoid a double cache with setup-go.
skip-pkg-cache: true
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SHELL := /bin/bash
ARTIFACTS_BUCKET?=my-s3-bucket
GIT_VERSION?=$(shell git describe --tag)
GIT_TAG?=$(shell git tag -l "v*.*.*" --sort -v:refname | head -1)
GOLANG_VERSION?="1.21"
GOLANG_VERSION?="1.22"
GO_VERSION ?= $(shell source ./scripts/common.sh && build::common::get_go_path $(GOLANG_VERSION))
GO ?= $(GO_VERSION)/go
GO_TEST ?= $(GO) test
Expand Down Expand Up @@ -164,7 +164,7 @@ LOCAL_E2E_TESTS ?= $(DOCKER_E2E_TEST)

EMBED_CONFIG_FOLDER = pkg/files/config

export KUBEBUILDER_ENVTEST_KUBERNETES_VERSION ?= 1.29.x
export KUBEBUILDER_ENVTEST_KUBERNETES_VERSION ?= 1.30.x

UNAME := $(shell uname -s)

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/eks-anywhere

go 1.21
go 1.22

require (
github.com/Masterminds/sprig v2.22.0+incompatible
Expand Down
2 changes: 1 addition & 1 deletion internal/thirdparty/capc/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module thirdparty.eks-a..com/capc

go 1.21
go 1.22

require (
k8s.io/api v0.29.2
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tools/eks-anywhere-test-tool/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/eks-anywhere-test-tool

go 1.21
go 1.22

require (
github.com/aws/aws-sdk-go v1.44.256
Expand Down

0 comments on commit f3df8ad

Please sign in to comment.