Update Golang to v1.20 for release-1.11 branch. (#6159)

Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
Co-authored-by: Xun Jiang <blackpiglet@gmail.com>
This commit is contained in:
Xun Jiang/Bruce Jiang
2023-04-23 12:07:48 +08:00
committed by GitHub
co-authored by Xun Jiang
parent 0da2baa908
commit 6ac085316d
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.8
go-version: '1.20.3'
id: go
# Look for a CLI that's made for this PR
- name: Fetch built CLI
+2 -2
View File
@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.8
go-version: '1.20.3'
id: go
# Look for a CLI that's made for this PR
- name: Fetch built CLI
@@ -72,7 +72,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.8
go-version: '1.20.3'
id: go
- name: Check out the code
uses: actions/checkout@v2
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.8
go-version: '1.20.3'
id: go
- name: Check out the code
uses: actions/checkout@v2
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.8
go-version: '1.20.3'
id: go
- uses: actions/checkout@v3
+2 -2
View File
@@ -13,7 +13,7 @@
# limitations under the License.
# Velero binary build section
FROM --platform=$BUILDPLATFORM golang:1.19.8-bullseye as velero-builder
FROM --platform=$BUILDPLATFORM golang:1.20.3-bullseye as velero-builder
ARG GOPROXY
ARG BIN
@@ -44,7 +44,7 @@ RUN mkdir -p /output/usr/bin && \
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
# Restic binary build section
FROM --platform=$BUILDPLATFORM golang:1.19.8-bullseye as restic-builder
FROM --platform=$BUILDPLATFORM golang:1.20.3-bullseye as restic-builder
ARG BIN
ARG TARGETOS
+1 -1
View File
@@ -50,7 +50,7 @@ git_sha = str(local("git rev-parse HEAD", quiet = True, echo_off = True)).strip(
tilt_helper_dockerfile_header = """
# Tilt image
FROM golang:1.19.8 as tilt-helper
FROM golang:1.20.3 as tilt-helper
# Support live reloading with Tilt
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \
+1 -1
View File
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=linux/amd64 golang:1.19.8-bullseye
FROM --platform=linux/amd64 golang:1.20.3-bullseye
ARG GOPROXY