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 <appleboy.tw@gmail.com>
This commit is contained in:
parent
082886c85b
commit
bf749b4823
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue