Providing (almost) full test matrix in GitHub actions (#14)

* Providing full test matrix
* Only testing Go version with module support on GitHub actions
* Only testing legacy versions on travis. Will be deprecated in time
This commit is contained in:
Christian Banse 2021-05-28 15:35:34 +02:00 committed by GitHub
parent 42625203e8
commit fb1de35795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -11,15 +11,16 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: [1.14, 1.15, 1.16]
go: [1.11, 1.12, 1.13, 1.14, 1.15, 1.16]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
go-version: "${{ matrix.go }}"
- name: Build
run: |
go vet ./...

View File

@ -5,9 +5,8 @@ script:
- go test -v ./...
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- 1.10
- tip