Skip to content

Commit

Permalink
feat: bump minimum go version to 1.19 (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucix-aws authored Oct 30, 2023
1 parent 4bd21a8 commit 5e022c7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 39 deletions.
8 changes: 8 additions & 0 deletions .changelog/f4dd83cb73164c29bb798d015428377f.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "f4dd83cb-7316-4c29-bb79-8d015428377f",
"type": "feature",
"description": "**LANG**: Bump minimum go version to 1.19.",
"modules": [
"."
]
}
21 changes: 1 addition & 20 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.19, "1.20"]
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Test
run: go test -v ./...

deprecated-unit-tests:
needs: unit-tests
name: Deprecated Go version SDK Unit Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.15, 1.16, 1.17, 1.18]
go-version: ["1.19", "1.20", "1.21"]
steps:
- uses: actions/checkout@v2

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

go 1.15
go 1.19
7 changes: 2 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module github.com/aws/smithy-go

go 1.15
go 1.19

require (
github.com/google/go-cmp v0.5.8
github.com/jmespath/go-jmespath v0.4.0
)
require github.com/google/go-cmp v0.5.8
13 changes: 0 additions & 13 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

0 comments on commit 5e022c7

Please sign in to comment.