ci: use go version from go.mod

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
Shengqi Chen
2026-04-13 13:11:55 +08:00
parent e5e307c2e9
commit aa658112f6
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '^1.23'
go-version-file: go.mod
id: go
- name: Build
run: |

View File

@@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '^1.25'
go-version-file: go.mod
id: go
- name: Get dependencies
@@ -61,7 +61,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '^1.25'
go-version-file: go.mod
id: go
- name: Run Unit tests.