From df3e30409717616e99196343ac51316461304cf1 Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Thu, 25 Jul 2024 21:11:26 +0800 Subject: [PATCH] update go Signed-off-by: lhy1024 --- .github/workflows/build.yaml | 4 ++-- .github/workflows/release.yaml | 2 +- .github/workflows/test.yaml | 4 ++-- .github/workflows/upload-e2e-snapshots.yaml | 2 +- dockerfiles/alpine316.Dockerfile | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f938539a47..c3ab89b373 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.21" - name: Load go module cache uses: actions/cache@v3 with: @@ -61,7 +61,7 @@ jobs: cache-dependency-path: "ui/pnpm-lock.yaml" - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.21" - name: Load go module cache uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 03995c8d09..6182f7f9a2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,7 +26,7 @@ jobs: cache-dependency-path: "ui/pnpm-lock.yaml" - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.21" - name: Load go module cache uses: actions/cache@v3 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e267a875eb..d20e887abe 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.21" - name: Load go module cache uses: actions/cache@v3 with: @@ -53,7 +53,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.21" - name: Load go module cache uses: actions/cache@v3 with: diff --git a/.github/workflows/upload-e2e-snapshots.yaml b/.github/workflows/upload-e2e-snapshots.yaml index 4ee92fd1a5..30935bb7db 100644 --- a/.github/workflows/upload-e2e-snapshots.yaml +++ b/.github/workflows/upload-e2e-snapshots.yaml @@ -45,7 +45,7 @@ jobs: cache-dependency-path: "ui/pnpm-lock.yaml" - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.21" - name: Load go module cache uses: actions/cache@v3 with: diff --git a/dockerfiles/alpine316.Dockerfile b/dockerfiles/alpine316.Dockerfile index 2927d2d848..fed623d207 100644 --- a/dockerfiles/alpine316.Dockerfile +++ b/dockerfiles/alpine316.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine3.16 as builder +FROM golang:1.21-alpine3.19 as builder RUN apk add --no-cache \ make \