Skip to content

Commit 590bb91

Browse files
authored
Bump go version to 1.22 (#569)
1 parent 0681fa9 commit 590bb91

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/api_diff_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go 1.x
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: "1.21"
19+
go-version: "1.22"
2020
id: go
2121

2222
- name: Check out code into the Go module directory

.github/workflows/codegen.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
go-version: ["1.21"]
16+
go-version: ["1.22"]
1717
env:
1818
JAVA_TOOL_OPTIONS: "-Xmx2g"
1919
steps:

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
go-version: ["1.21", "1.22", "1.23"]
16+
go-version: ["1.22", "1.23", "1.24"]
1717
steps:
1818
- uses: actions/checkout@v2
1919

codegen/smithy-go-codegen-test/smithy-build.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"module": "github.com/aws/smithy-go/internal/tests/service/weather",
77
"moduleVersion": "0.0.1",
88
"generateGoMod": true,
9-
"goDirective": "1.18"
9+
"goDirective": "1.22"
1010
},
1111
"go-server-codegen": {
1212
"service": "example.weather#Weather",
1313
"module": "github.com/aws/smithy-go/internal/tests/server/weather",
1414
"moduleVersion": "0.0.1",
1515
"generateGoMod": true,
16-
"goDirective": "1.18"
16+
"goDirective": "1.22"
1717
}
1818
}
1919
}

codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoModuleInfo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
public final class GoModuleInfo {
2929

30-
public static final String DEFAULT_GO_DIRECTIVE = "1.15";
30+
public static final String DEFAULT_GO_DIRECTIVE = "1.22";
3131

3232
private List<SymbolDependency> dependencies;
3333

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/aws/smithy-go
22

3-
go 1.21
3+
go 1.22

0 commit comments

Comments
 (0)