Skip to content

Commit d1795fa

Browse files
authored
Use go.mod for Go version in GitHub actions (#38)
1 parent 3cdcc0c commit d1795fa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/test-e2e-conformance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: '~1.23'
23+
go-version-file: go.mod
2424

2525
- name: Setup infrastructure
2626
run: |

.github/workflows/test-e2e-full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: '~1.23'
22+
go-version-file: go.mod
2323

2424
- name: Setup infrastructure
2525
run: |

.github/workflows/test-e2e-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: '~1.23'
19+
go-version-file: go.mod
2020

2121
- name: Setup infrastructure
2222
run: ./hack/scripts/ci/setup-${{ matrix.infrastructure }}.sh

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: '~1.23'
19+
go-version-file: go.mod
2020

2121
- name: make lint
2222
run: make lint

0 commit comments

Comments
 (0)