Skip to content

Commit 57e7652

Browse files
committed
fix: CI workflow — Go 1.25, golangci-lint v7, build path
1 parent 628b4c3 commit 57e7652

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818

1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.22'
21+
go-version: '1.25'
22+
cache: true
2223

2324
- name: Download dependencies
2425
run: go mod download
@@ -30,7 +31,7 @@ jobs:
3031
run: go test ./... -race -count=1
3132

3233
- name: Build
33-
run: go build ./cmd/lark-server
34+
run: go build -o lark-server ./cmd/lark-server
3435

3536
lint:
3637
name: Lint
@@ -40,12 +41,13 @@ jobs:
4041

4142
- uses: actions/setup-go@v5
4243
with:
43-
go-version: '1.22'
44+
go-version: '1.25'
45+
cache: true
4446

4547
- name: golangci-lint
46-
uses: golangci/golangci-lint-action@v6
48+
uses: golangci/golangci-lint-action@v7
4749
with:
48-
version: latest
50+
version: v2.1
4951

5052
docker:
5153
name: Docker Build

0 commit comments

Comments
 (0)