Skip to content

Commit 95894c0

Browse files
authored
use go.mod version (#569)
1 parent 2594663 commit 95894c0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,14 @@ jobs:
3232
runs-on: ubuntu-24.04
3333
permissions:
3434
contents: read
35-
strategy:
36-
fail-fast: false
37-
matrix:
38-
go-version: ["1.22", "1.23", stable]
3935
steps:
4036
- name: Checkout Repository
4137
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4238

4339
- name: Setup Golang Environment
4440
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4541
with:
46-
go-version: ${{ matrix.go-version }}
42+
go-version-file: go.mod
4743

4844
- name: Run Unit Tests
4945
run: make unit-test
@@ -102,7 +98,7 @@ jobs:
10298
- name: Setup Golang Environment
10399
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
104100
with:
105-
go-version: stable
101+
go-version-file: go.mod
106102
if: ${{ github.ref_type == 'tag' }}
107103

108104
- name: Run GoReleaser

0 commit comments

Comments
 (0)