Skip to content

Commit

Permalink
Add testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
olahol committed Mar 30, 2024
1 parent 4a98ad4 commit 18ed1fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ on:
- master
jobs:
test:
runs-on: 'ubuntu-latest'
strategy:
matrix:
go-version: ["1.20", "1.21", "1.22"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: ${{ matrix.go-version }}
- run: go get -t -v ./...
- run: go test -race -coverprofile=coverage.out -covermode=atomic -timeout 60s
- uses: codecov/codecov-action@v3

0 comments on commit 18ed1fe

Please sign in to comment.