Skip to content

Commit

Permalink
fix test matrixing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
crewjam committed Jun 25, 2022
1 parent a544445 commit d74fd35
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -5,20 +5,21 @@ on:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]

jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.13.x', '1.14.x', '1.15.x', '1.16.x', '1.17.x' ]
go: [ '1.13.x', '1.14.x', '1.15.x', '1.16.x', '1.17.x', '1.18.x' ]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Go version
run: go version
- name: Run Go tests
run: find . -name go.mod -execdir go test -v ./... \;

0 comments on commit d74fd35

Please sign in to comment.