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:
parent
dfad03d537
commit
082886c85b
@ -22,7 +22,8 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "^1"
|
go-version-file: go.mod
|
||||||
|
check-latest: true
|
||||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||||
id: hash-go
|
id: hash-go
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user