From c53649980f8bef1958aa188e17d2186642fafc36 Mon Sep 17 00:00:00 2001 From: Muhammad Iqbal Alaydrus Date: Mon, 31 Jul 2023 16:40:06 +0700 Subject: [PATCH] e2e tests on go 1.20.6 is broken, use 1.20.5 for testing and specify 1.20.6 for the actual image --- .github/workflows/build.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8b317ce..ed2d1b3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup golang uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.20.5" - name: Run unit testing run: | go test ./... diff --git a/Dockerfile b/Dockerfile index feedb39..dea77b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 AS buildStage +FROM golang:1.20.6 AS buildStage COPY go.mod go.sum /source_code/ WORKDIR /source_code RUN go mod download