Skip to content

Commit 574534e

Browse files
BennettJamesBennett Sala
and
Bennett Sala
authored
Upgrade to go v1.20 (#700)
Co-authored-by: Bennett Sala <[email protected]>
1 parent a141bc5 commit 574534e

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

.github/actions/integration-test/action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ inputs:
1919
runs:
2020
using: "composite"
2121
steps:
22-
- name: Install Go 1.17
22+
- name: Install Go 1.20
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: '1.17.*'
25+
go-version: '1.20.*'
2626
id: go
2727

2828
- name: Setup Test Tools

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
name: build
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- name: Set up Go 1.17
15+
- name: Set up Go 1.20
1616
uses: actions/setup-go@v3
1717
with:
18-
go-version: '1.17.*'
18+
go-version: '1.20.*'
1919
id: go
2020
- name: checkout code
2121
uses: actions/checkout@v2

.github/workflows/unit-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
name: unit-test
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- name: setup go 1.17
15+
- name: setup go 1.20
1616
uses: actions/setup-go@v3
1717
with:
18-
go-version: '1.17.*'
18+
go-version: '1.20.*'
1919
id: go
2020
- name: setup kubebuilder
2121
run: |

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:experimental
22

33
# Build the controller binary
4-
FROM --platform=${BUILDPLATFORM} golang:1.17 as builder
4+
FROM --platform=${BUILDPLATFORM} golang:1.20 as builder
55

66
WORKDIR /workspace
77

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/aws/aws-app-mesh-controller-for-k8s
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/aws/aws-sdk-go v1.44.79

test/integration/test_app/sidecar-backend/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ RUN yum update -y && \
44
yum clean all && \
55
rm -rf /var/cache/yum
66

7-
RUN curl -LO https://golang.org/dl/go1.17.1.linux-amd64.tar.gz && \
8-
tar -C /usr/local -xzvf go1.17.1.linux-amd64.tar.gz
7+
RUN curl -LO https://golang.org/dl/go1.20.3.linux-amd64.tar.gz && \
8+
tar -C /usr/local -xzvf go1.20.3.linux-amd64.tar.gz
99

1010
ENV PATH="${PATH}:/usr/local/go/bin"
1111
ENV GOPATH="${HOME}/go"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module colorapp
22

3-
go 1.18
3+
go 1.20

test/integration/test_app/sidecar-frontend/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ RUN yum update -y && \
44
yum clean all && \
55
rm -rf /var/cache/yum
66

7-
RUN curl -LO https://golang.org/dl/go1.19.1.linux-amd64.tar.gz && \
8-
tar -C /usr/local -xzvf go1.19.1.linux-amd64.tar.gz
7+
RUN curl -LO https://golang.org/dl/go1.20.3.linux-amd64.tar.gz && \
8+
tar -C /usr/local -xzvf go1.20.3.linux-amd64.tar.gz
99

1010
ENV PATH="${PATH}:/usr/local/go/bin"
1111
ENV GOPATH="${HOME}/go"

test/integration/test_app/sidecar-frontend/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module feapp
22

3-
go 1.18
3+
go 1.20
44

55
require (
66
k8s.io/apimachinery v0.25.2

0 commit comments

Comments
 (0)