From 9ee23f5a9373a6b7b1801ea7afc97e7cfa198ae6 Mon Sep 17 00:00:00 2001 From: Luc Talatinian Date: Mon, 30 Oct 2023 12:14:53 -0400 Subject: [PATCH] feat: bump minimum go version to 1.19 --- .../f4dd83cb73164c29bb798d015428377f.json | 8 +++++++ .github/workflows/go.yml | 21 +------------------ go.mod | 7 ++----- go.sum | 13 ------------ modman.toml | 11 ---------- 5 files changed, 11 insertions(+), 49 deletions(-) create mode 100644 .changelog/f4dd83cb73164c29bb798d015428377f.json delete mode 100644 modman.toml diff --git a/.changelog/f4dd83cb73164c29bb798d015428377f.json b/.changelog/f4dd83cb73164c29bb798d015428377f.json new file mode 100644 index 000000000..4b74f2e25 --- /dev/null +++ b/.changelog/f4dd83cb73164c29bb798d015428377f.json @@ -0,0 +1,8 @@ +{ + "id": "f4dd83cb-7316-4c29-bb79-8d015428377f", + "type": "feature", + "description": "**LANG**: Bump minimum go version to 1.19.", + "modules": [ + "." + ] +} \ No newline at end of file diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8ca94200a..049bc5b82 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/go.mod b/go.mod index d163d76ea..981398044 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index b03fbb7a3..e9b099ce2 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/modman.toml b/modman.toml deleted file mode 100644 index 20295cdd2..000000000 --- a/modman.toml +++ /dev/null @@ -1,11 +0,0 @@ -[dependencies] - "github.com/google/go-cmp" = "v0.5.8" - "github.com/jmespath/go-jmespath" = "v0.4.0" - -[modules] - - [modules.codegen] - no_tag = true - - [modules."codegen/smithy-go-codegen/build/test-generated/go/internal/testmodule"] - no_tag = true