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:
|
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 ./...
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue