mirror of
https://github.com/go-gitea/gitea
synced 2025-08-08 10:38:21 +00:00
actions/setup-go use go-version-file (#27651)
These changes will allow not to specify the version of go in every pipeline.
This commit is contained in:
2
.github/workflows/cron-licenses.yml
vendored
2
.github/workflows/cron-licenses.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "~1.21"
|
||||
go-version-file: go.mod
|
||||
check-latest: true
|
||||
- run: make generate-license generate-gitignore
|
||||
timeout-minutes: 40
|
||||
|
Reference in New Issue
Block a user