Skip to content

Commit 44ec56d

Browse files
authored
chore: update ci (#105)
* chore: update main.yaml
1 parent 35fc956 commit 44ec56d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
go: ["1.23", "1.24", "tip"]
18+
go: ["1.23", "1.24"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -24,6 +24,8 @@ jobs:
2424
uses: actions/setup-go@v5
2525
with:
2626
go-version: ${{ matrix.go }}
27+
cache: true
28+
cache-dependency-path: "**/go.sum"
2729

2830
- uses: actions/cache@v4
2931
if: ${{ !env.ACT }}
@@ -37,11 +39,11 @@ jobs:
3739
- run: make tests
3840

3941
- name: Install goveralls
40-
if: matrix.go == 'tip'
42+
if: matrix.go == '1.24'
4143
run: go install github.com/mattn/goveralls@latest
4244

4345
- name: Coverage - Sending Report to Coveral
44-
if: matrix.go == 'tip'
46+
if: matrix.go == '1.24'
4547
env:
4648
COVERALLS_TOKEN: ${{ secrets.github_token }}
4749
run: goveralls -coverprofile=coverage.cov -service=github

0 commit comments

Comments
 (0)