ci: update Gitea release workflow Go version management

- Use `go.mod` to determine Go version in Gitea release workflow
- Ensure the latest Go version is used in Gitea release workflow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-02-19 10:23:43 +08:00
parent dfad03d537
commit 082886c85b
No known key found for this signature in database

View File

@ -22,7 +22,8 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: "^1"
go-version-file: go.mod
check-latest: true
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: hash-go
with: