Skip to content

Commit 6fe9294

Browse files
committed
feat: update CI
1 parent 017eb20 commit 6fe9294

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
name: Update coverage badge
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
1818
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
1919

2020
- name: Setup go
21-
uses: actions/setup-go@v3
21+
uses: actions/setup-go@v5
2222
with:
23-
go-version: '1.18'
23+
go-version: '1.24.x'
2424

25-
- uses: actions/cache@v3
25+
- uses: actions/cache@v4
2626
with:
2727
path: ~/go/pkg/mod
2828
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -58,4 +58,4 @@ jobs:
5858
uses: ad-m/github-push-action@master
5959
with:
6060
github_token: ${{ github.token }}
61-
branch: ${{ github.head_ref }}
61+
branch: ${{ github.head_ref }}

.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
1818

1919
- name: Set up Go
20-
uses: actions/setup-go@v3
20+
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.18
22+
go-version: '1.24.x'
2323

2424
- name: Test
2525
run: go test -v ./...

0 commit comments

Comments
 (0)