Skip to content

Commit 8ab7fc0

Browse files
committedFeb 21, 2025
Fix: workflows
1 parent ed85f14 commit 8ab7fc0

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed
 

‎.github/workflows/tests.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,33 @@ jobs:
66
name: lint
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/setup-go@v3
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
- name: Set up Go
12+
uses: actions/setup-go@v5
1013
with:
11-
go-version: '1.19'
12-
- uses: actions/checkout@v3
14+
go-version: '1.23'
15+
cache: false
1316
- name: golangci-lint
14-
uses: golangci/golangci-lint-action@v3
17+
uses: golangci/golangci-lint-action@v6
1518
with:
16-
version: v1.61.0
17-
args: --timeout=3m
19+
version: v1.60.3
20+
args: --timeout=5m
21+
1822
test:
23+
name: Test
1924
runs-on: ubuntu-latest
2025
steps:
21-
- name: install Go
22-
uses: actions/setup-go@v2
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Install Go
30+
uses: actions/setup-go@v5
2331
with:
2432
go-version: 1.23.x
25-
- name: checkout code
26-
uses: actions/checkout@v2
27-
- uses: actions/cache@v2
28-
with:
29-
path: ~/go/pkg/mod
30-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
31-
restore-keys: |
32-
${{ runner.os }}-go-
33-
- name: golang tests
33+
- name: Golang tests
3434
env:
3535
GO111MODULE: on
3636
run: |
3737
go mod download
38-
go test ./...
38+
go test -p 8 ./...

0 commit comments

Comments
 (0)