Skip to content

Commit 3afa9e9

Browse files
committed
fix: CI
1 parent 819bfdc commit 3afa9e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v4
2020
with:
21-
go-version: 'stable'
21+
go-version-file: 'go.mod'
2222

2323
- name: Cache Go modules
2424
uses: actions/cache@v3
@@ -45,8 +45,8 @@ jobs:
4545
- name: Run golangci-lint
4646
uses: golangci/golangci-lint-action@v3
4747
with:
48-
version: latest
49-
args: --timeout=5m
48+
version: v1.64.8
49+
args: --timeout=5m --out-format=colored-line-number
5050

5151
test:
5252
name: Test
@@ -60,7 +60,7 @@ jobs:
6060
- name: Set up Go
6161
uses: actions/setup-go@v4
6262
with:
63-
go-version: 'stable'
63+
go-version-file: 'go.mod'
6464

6565
- name: Cache Go modules
6666
uses: actions/cache@v3

0 commit comments

Comments
 (0)