Skip to content

Commit

Permalink
Update CI to include Go1.19 (#1785)
Browse files Browse the repository at this point in the history
Updates the SDK's CI actions to include go1.19.
  • Loading branch information
jasdel authored Aug 5, 2022
1 parent 2e91bf1 commit 72cfbc9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
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.18]
go-version: [1.19]
env:
JAVA_TOOL_OPTIONS: "-Xmx2g"
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.18, 1.17]
go-version: [1.19, 1.18]
steps:
- uses: actions/checkout@v2

Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.16, 1.15]
go-version: [1.17, 1.16, 1.15]
steps:
- uses: actions/checkout@v2

Expand All @@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
go-version: [1.18, 1.17]
go-version: [1.19, 1.18]
env:
EACHMODULE_SKIP: "internal\\repotools\\changes"
steps:
Expand All @@ -77,7 +77,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
go-version: [1.16, 1.15]
go-version: [1.19, 1.16, 1.15]
env:
EACHMODULE_SKIP: "internal\\repotools\\changes"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.18.x]
go-version: [1.19.x]
os: [ubuntu-latest] # other options: macos-latest, windows-latest
steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 12 additions & 0 deletions internal/awstesting/sandbox/Dockerfile.test.go1.19
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.19

ENV GOPROXY=direct

ADD . /go/src/github.com/aws/aws-sdk-go-v2

RUN apt-get update && apt-get install -y --no-install-recommends \
vim \
&& rm -rf /var/list/apt/lists/*

WORKDIR /go/src/github.com/aws/aws-sdk-go-v2
CMD ["make", "unit"]

0 comments on commit 72cfbc9

Please sign in to comment.