Skip to content

Commit

Permalink
Bump go version to 1.22 (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Madrigal authored Feb 17, 2025
1 parent 0681fa9 commit 590bb91
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api_diff_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go-version: ["1.21"]
go-version: ["1.22"]
env:
JAVA_TOOL_OPTIONS: "-Xmx2g"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ["1.21", "1.22", "1.23"]
go-version: ["1.22", "1.23", "1.24"]
steps:
- uses: actions/checkout@v2

Expand Down
4 changes: 2 additions & 2 deletions codegen/smithy-go-codegen-test/smithy-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"module": "github.com/aws/smithy-go/internal/tests/service/weather",
"moduleVersion": "0.0.1",
"generateGoMod": true,
"goDirective": "1.18"
"goDirective": "1.22"
},
"go-server-codegen": {
"service": "example.weather#Weather",
"module": "github.com/aws/smithy-go/internal/tests/server/weather",
"moduleVersion": "0.0.1",
"generateGoMod": true,
"goDirective": "1.18"
"goDirective": "1.22"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

public final class GoModuleInfo {

public static final String DEFAULT_GO_DIRECTIVE = "1.15";
public static final String DEFAULT_GO_DIRECTIVE = "1.22";

private List<SymbolDependency> dependencies;

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/aws/smithy-go

go 1.21
go 1.22

0 comments on commit 590bb91

Please sign in to comment.