Skip to content

Commit 3dd5c2c

Browse files
committed
fix(ci): ci 1, bunni 0
1 parent 3b23197 commit 3dd5c2c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
- ubuntu-latest
1010
- macos-latest
1111
- windows-latest
12-
go-version: [ 1.23, 1.24, 1.24.x ]
1312
runs-on: ${{ matrix.os }}
1413
steps:
15-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1615
- name: Set up Go
17-
uses: actions/setup-go@v4
16+
uses: actions/setup-go@v5
1817
with:
19-
go-version: ${{ matrix.go-version }}
18+
go-version-file: 'go.mod'
19+
cache-dependency-path: go.sum
2020
- name: Cleaning
2121
run: go clean --modcache
2222
- name: Build

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
- name: Set up Go environment
18+
run: |
19+
go env
20+
- name: Install dependencies
21+
run: |
22+
go mod tidy
1723
- name: golangci-lint
1824
uses: golangci/golangci-lint-action@v5
1925
with:

0 commit comments

Comments
 (0)