Skip to content

Commit f33bfe1

Browse files
committed
fix: workflows
1 parent 84f14f0 commit f33bfe1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
name: CI
2+
23
on:
34
push:
5+
branches:
6+
- master
7+
pull_request:
48

59
jobs:
610
build:
711
runs-on: ubuntu-latest
812
strategy:
913
matrix:
10-
go: [ '1.23', '1.22' ]
14+
go: [ stable, oldstable ]
1115
name: Go ${{ matrix.go }} test
1216
steps:
1317
- uses: actions/checkout@v4
@@ -19,7 +23,7 @@ jobs:
1923
- run: make lint
2024
- run: make test_coverage
2125
- name: Upload code coverage to codecov
22-
if: matrix.go == '1.23'
26+
if: matrix.go == 'stable'
2327
uses: codecov/codecov-action@v3
2428
with:
2529
file: ./coverage.out

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.x
19+
go-version: stable
2020
- name: Run GoReleaser
2121
uses: goreleaser/goreleaser-action@v6
2222
with:

0 commit comments

Comments
 (0)