From f0370bcf599c92973cc085aaa1078be294ca52c4 Mon Sep 17 00:00:00 2001 From: Anqi Pang Date: Thu, 2 Mar 2023 15:19:45 -0800 Subject: [PATCH] ci: update go version to match go.mod Signed-off-by: Anqi Pang --- .github/workflows/upload-build-to-s3.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload-build-to-s3.yaml b/.github/workflows/upload-build-to-s3.yaml index c967b99fc..ceae5d190 100644 --- a/.github/workflows/upload-build-to-s3.yaml +++ b/.github/workflows/upload-build-to-s3.yaml @@ -18,7 +18,8 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19.x + go-version-file: go.mod + cache: true - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -46,7 +47,8 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19.x + go-version-file: go.mod + cache: true - uses: actions/checkout@v3 with: fetch-depth: 0