Skip to content

Commit

Permalink
Matrix test go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Oct 14, 2024
1 parent 9aa6b5e commit b962456
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:

ci:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '', '1.x' ] # '' uses go.mod, 1.x uses latest go
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -18,7 +21,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.x"
go-version-file: 'go.mod'
go-version: ${{ matrix.go }}
stable: true
check-latest: true

Expand Down

0 comments on commit b962456

Please sign in to comment.