ci: use go-version-file
This commit is contained in:
parent
030b1279ad
commit
4ddd8a4ce8
1 changed files with 4 additions and 4 deletions
|
@ -36,11 +36,11 @@ jobs:
|
||||||
- ${{ env.FORGEJO_SCRIPT }}
|
- ${{ env.FORGEJO_SCRIPT }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.21'
|
go-version-file: go.mod
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- run: make vet
|
- run: make vet
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue