Skip to content

Commit 72cfbc9

Browse files
authored
Update CI to include Go1.19 (#1785)
Updates the SDK's CI actions to include go1.19.
1 parent 2e91bf1 commit 72cfbc9

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

.github/workflows/codegen.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
go-version: [1.18]
16+
go-version: [1.19]
1717
env:
1818
JAVA_TOOL_OPTIONS: "-Xmx2g"
1919
steps:

.github/workflows/go.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, macos-latest]
19-
go-version: [1.18, 1.17]
19+
go-version: [1.19, 1.18]
2020
steps:
2121
- uses: actions/checkout@v2
2222

@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
os: [ubuntu-latest, macos-latest]
41-
go-version: [1.16, 1.15]
41+
go-version: [1.17, 1.16, 1.15]
4242
steps:
4343
- uses: actions/checkout@v2
4444

@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
matrix:
5858
os: [windows-latest]
59-
go-version: [1.18, 1.17]
59+
go-version: [1.19, 1.18]
6060
env:
6161
EACHMODULE_SKIP: "internal\\repotools\\changes"
6262
steps:
@@ -77,7 +77,7 @@ jobs:
7777
strategy:
7878
matrix:
7979
os: [windows-latest]
80-
go-version: [1.16, 1.15]
80+
go-version: [1.19, 1.16, 1.15]
8181
env:
8282
EACHMODULE_SKIP: "internal\\repotools\\changes"
8383
steps:

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
go-version: [1.18.x]
14+
go-version: [1.19.x]
1515
os: [ubuntu-latest] # other options: macos-latest, windows-latest
1616
steps:
1717
- uses: actions/checkout@v2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM golang:1.19
2+
3+
ENV GOPROXY=direct
4+
5+
ADD . /go/src/github.com/aws/aws-sdk-go-v2
6+
7+
RUN apt-get update && apt-get install -y --no-install-recommends \
8+
vim \
9+
&& rm -rf /var/list/apt/lists/*
10+
11+
WORKDIR /go/src/github.com/aws/aws-sdk-go-v2
12+
CMD ["make", "unit"]

0 commit comments

Comments
 (0)