1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 02:58:20 +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:
Yevhen Pavlov
2023-10-17 13:24:54 +03:00
committed by GitHub
parent 0f3ea4e1b1
commit d98c863884
7 changed files with 20 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- run: git fetch --unshallow --quiet --tags --force
- uses: actions/setup-go@v4
with:
go-version: "~1.21"
go-version-file: go.mod
check-latest: true
- uses: actions/setup-node@v3
with:
@@ -66,7 +66,7 @@ jobs:
- run: git fetch --unshallow --quiet --tags --force
- uses: actions/setup-go@v4
with:
go-version: "~1.21"
go-version-file: go.mod
check-latest: true
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
@@ -103,7 +103,7 @@ jobs:
- run: git fetch --unshallow --quiet --tags --force
- uses: actions/setup-go@v4
with:
go-version: "~1.21"
go-version-file: go.mod
check-latest: true
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2