Skip to content

Commit 05af099

Browse files
committed
fix(ci): use go-version-file to match go.mod version
1 parent 8c30777 commit 05af099

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.23'
18+
go-version-file: go.mod
1919

2020
- name: Install tools
2121
run: make tools
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Go
4141
uses: actions/setup-go@v5
4242
with:
43-
go-version: '1.23'
43+
go-version-file: go.mod
4444

4545
- name: Build (CGO for keychain)
4646
run: CGO_ENABLED=1 go build -o bin/frontcli ./cmd/frontcli

.github/workflows/release.yml

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

2424
- name: Run GoReleaser
2525
uses: goreleaser/goreleaser-action@v6

0 commit comments

Comments
 (0)