Skip to content

Commit 06dc111

Browse files
committed
update github action
use go1.23 and go1.24 Signed-off-by: roc <roc@imroc.cc>
1 parent b79e020 commit 06dc111

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
paths-ignore:
8-
- '**.md'
8+
- '**.md'
99
pull_request:
1010
branches:
11-
- master
11+
- master
1212
paths-ignore:
13-
- '**.md'
13+
- '**.md'
1414

1515
# Allows you to run this workflow manually from the Actions tab
1616
workflow_dispatch:
@@ -19,15 +19,15 @@ jobs:
1919
test:
2020
strategy:
2121
matrix:
22-
go: [ '1.22.x', '1.23.x' ]
23-
os: [ ubuntu-latest ]
22+
go: ['1.23.x', '1.24.x']
23+
os: [ubuntu-latest]
2424
runs-on: ${{ matrix.os }}
2525
steps:
26-
- name: Checkout
27-
uses: actions/checkout@v2
28-
- name: Setup Go
29-
uses: actions/setup-go@v2
30-
with:
31-
go-version: ${{ matrix.go }}
32-
- name: Test
33-
run: go test ./... -coverprofile=coverage.txt
26+
- name: Checkout
27+
uses: actions/checkout@v2
28+
- name: Setup Go
29+
uses: actions/setup-go@v2
30+
with:
31+
go-version: ${{ matrix.go }}
32+
- name: Test
33+
run: go test ./... -coverprofile=coverage.txt

0 commit comments

Comments
 (0)