Skip to content

Commit

Permalink
Updates smithy-go for Go 1.17 (#323)
Browse files Browse the repository at this point in the history
* Updates smithy-go's `build` tags to use go 1.17's formatting style of `// go:build ...`.
* Updates CI for Go 1.17.
  • Loading branch information
jasdel authored Aug 19, 2021
1 parent bc23b29 commit 8dfe8d8
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 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.15
go-version: ^1.16
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 @@ -14,7 +14,7 @@ jobs:
matrix:
os: [ubuntu-latest]
java-version: ['11', '8']
go-version: [1.16]
go-version: [1.17]
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.16, 1.15]
go-version: [1.17, 1.16, 1.15]
steps:
- uses: actions/checkout@v2

Expand Down
1 change: 0 additions & 1 deletion document/json/shared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,3 @@ func MustJSONUnmarshal(v []byte, useJSONNumber bool) interface{} {
}
return jv
}

1 change: 1 addition & 0 deletions ptr/gen_scalars.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build codegen
// +build codegen

package ptr
Expand Down
1 change: 1 addition & 0 deletions ptr/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore

package main
Expand Down

0 comments on commit 8dfe8d8

Please sign in to comment.