Add Support for Go 1.15

And also drop support for Go 1.12 in line with Go's Release Policy https://golang.org/doc/devel/release.html#policy
This commit is contained in:
Ajitem Sahasrabuddhe 2020-10-31 00:08:57 +05:30
parent e062e733d8
commit 2a5a092888

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.12, 1.13, 1.14]
go: [1.13, 1.14, 1.15]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:
@ -39,7 +39,7 @@ jobs:
ref: ${{ github.ref }}
- name: GOFMT Check
if: matrix.go == 1.14 && matrix.os == 'ubuntu-latest'
if: matrix.go == 1.15 && matrix.os == 'ubuntu-latest'
run: test -z $(gofmt -l .)
- name: vet
@ -62,10 +62,10 @@ jobs:
name: test-docs
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
- name: Set up Go 1.15
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.15
- name: Use Node.js 12.x
uses: actions/setup-node@v1