Skip to content

Commit f8275de

Browse files
committed
fix ci
1 parent b05f1d2 commit f8275de

File tree

3 files changed

+9
-83
lines changed

3 files changed

+9
-83
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4.2.2
1010
with:
1111
fetch-depth: 2
12-
- uses: actions/setup-go@v3
12+
- uses: actions/setup-go@v5.4.0
1313
with:
14-
go-version: '1.21'
14+
go-version: '1.25'
1515
- name: Run coverage
16-
run: go test -coverpkg=./... ./... -race -coverprofile=coverage.out -covermode=atomic
16+
run: go env -w GOTOOLCHAIN=go1.25.0+auto && go test -coverpkg=./... ./... -race -coverprofile=coverage.out -covermode=atomic
1717
- name: Upload coverage to Codecov
18-
uses: codecov/codecov-action@v3
18+
uses: codecov/codecov-action@v5
1919
with:
20-
verbose: true
20+
verbose: true
2121
env:
2222
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/codeql.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4.2.2
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v4
20+
uses: actions/setup-go@v5.4.0
2121
with:
22-
go-version: '1.21'
22+
go-version: '1.25'
2323

2424
- name: Build
2525
run: go build -v ./...

0 commit comments

Comments
 (0)