Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #55 from maratori/compatibility
Browse files Browse the repository at this point in the history
Check compatibility on CI
  • Loading branch information
maratori authored Aug 28, 2022
2 parents 4f2c3ee + 5cc1e9d commit 7bea39f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,35 @@ jobs:
- run: go test -race -p=8 -parallel=8 -tags=example -coverpkg ./... -coverprofile=coverage.out ./...
- uses: codecov/codecov-action@v3

compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.8"
- "1.9"
- "1.10"
- "1.11"
- "1.12"
- "1.13"
- "1.14"
- "1.15"
- "1.16"
- "1.17"
- "1.18"
- "1.19"
steps:
- uses: actions/checkout@v3
with:
path: go/src/github.com/maratori/pt
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: go test -race -p=8 -parallel=8 -tags=example ./...
working-directory: ${{ github.workspace }}/go/src/github.com/maratori/pt
env:
GOPATH: ${{ github.workspace }}/go

lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 7bea39f

Please sign in to comment.