forked from mirror/jwt
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:
parent
42625203e8
commit
fb1de35795
|
@ -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 ./...
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue