Skip to content

Commit

Permalink
fix: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 15, 2024
1 parent 84f14f0 commit f33bfe1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.23', '1.22' ]
go: [ stable, oldstable ]
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v4
Expand All @@ -19,7 +23,7 @@ jobs:
- run: make lint
- run: make test_coverage
- name: Upload code coverage to codecov
if: matrix.go == '1.23'
if: matrix.go == 'stable'
uses: codecov/codecov-action@v3
with:
file: ./coverage.out
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.x
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down

0 comments on commit f33bfe1

Please sign in to comment.