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

View File

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