mirror of https://github.com/spf13/viper.git
Add Go 1.14 to build targets
This commit is contained in:
parent
3856c05f99
commit
13df721090
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go: ['1.11', '1.12', '1.13']
|
go: ['1.11', '1.12', '1.13', '1.14']
|
||||||
env:
|
env:
|
||||||
VERBOSE: 1
|
VERBOSE: 1
|
||||||
GOFLAGS: -mod=readonly
|
GOFLAGS: -mod=readonly
|
||||||
|
@ -20,15 +20,15 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Run tests
|
- name: Lint
|
||||||
run: make test
|
|
||||||
|
|
||||||
- name: Run linter
|
|
||||||
run: make lint
|
run: make lint
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: make test
|
||||||
|
|
Loading…
Reference in New Issue