Skip to content

Commit 5188dc8

Browse files
authored
Merge pull request #1065 from squeed/bump-go
.github: bump go
2 parents acf8ddc + 675ca92 commit 5188dc8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
name: test
33

4-
on: ["push", "pull_request"]
4+
on:
5+
pull_request: {}
56

67
env:
8+
# be sure to update the version in release.yaml too
79
GO_VERSION: "1.22"
810
LINUX_ARCHES: "amd64 386 arm arm64 s390x mips64le ppc64le riscv64"
911

@@ -16,7 +18,7 @@ jobs:
1618
- name: setup go
1719
uses: actions/setup-go@v5
1820
with:
19-
go-version-file: go.mod
21+
go-version: ${{ env.GO_VERSION }}
2022
- uses: ibiqlik/action-yamllint@v3
2123
with:
2224
format: auto
@@ -34,7 +36,7 @@ jobs:
3436
- name: setup go
3537
uses: actions/setup-go@v5
3638
with:
37-
go-version-file: go.mod
39+
go-version: ${{ env.GO_VERSION }}
3840
- name: Build on all supported architectures
3941
run: |
4042
set -e
@@ -58,7 +60,7 @@ jobs:
5860
- name: setup go
5961
uses: actions/setup-go@v5
6062
with:
61-
go-version-file: go.mod
63+
go-version: ${{ env.GO_VERSION }}
6264
- name: Set up Go for root
6365
run: |
6466
sudo ln -sf `which go` `sudo which go` || true
@@ -89,6 +91,6 @@ jobs:
8991
- name: setup go
9092
uses: actions/setup-go@v5
9193
with:
92-
go-version-file: go.mod
94+
go-version: ${{ env.GO_VERSION }}
9395
- name: test
9496
run: bash ./test_windows.sh

0 commit comments

Comments
 (0)