From bf749b48232a5f07515992d0372364905cea4ff3 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 19 Feb 2024 10:24:03 +0800 Subject: [PATCH] ci: update testing workflow for Go version consistency - Correct the `go-version-file` syntax by removing quotes in the testing workflow - Add `check-latest` flag to ensure the latest Go version is used in testing workflow Signed-off-by: Bo-Yi Wu --- .gitea/workflows/testing.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/testing.yml b/.gitea/workflows/testing.yml index d31218a..2851517 100644 --- a/.gitea/workflows/testing.yml +++ b/.gitea/workflows/testing.yml @@ -17,7 +17,8 @@ jobs: fetch-depth: 0 # all history for all branches and tags - uses: actions/setup-go@v5 with: - go-version-file: "go.mod" + go-version-file: go.mod + check-latest: true - uses: https://gitea.com/actions/go-hashfiles@v0.0.1 id: hash-go with: