Skip to content

Commit

Permalink
Add matrix testing to actions for Go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkKremer committed Sep 21, 2024
1 parent c544823 commit 845da8f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.21' # minimum supported version
- 'stable'
name: "build with Go ${{ matrix.go }}"
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version: ${{ matrix.go }}

- name: Install goveralls
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 845da8f

Please sign in to comment.