forked from mirror/go-json
Update go version
This commit is contained in:
parent
e99e62dcbc
commit
7f741a08bc
|
@ -18,7 +18,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
|
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
|
||||||
go-version: [ "1.15", "1.16", "1.17" ]
|
go-version: [ "1.16", "1.17", "1.18" ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: setup Go ${{ matrix.go-version }}
|
- name: setup Go ${{ matrix.go-version }}
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
- name: setup Go
|
- name: setup Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.18
|
||||||
- name: checkout ( feature )
|
- name: checkout ( feature )
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: run benchmark ( feature )
|
- name: run benchmark ( feature )
|
||||||
|
@ -64,7 +64,7 @@ jobs:
|
||||||
- name: setup Go
|
- name: setup Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.18
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: measure coverage
|
- name: measure coverage
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
go-json:
|
go-json:
|
||||||
image: golang:1.17
|
image: golang:1.18
|
||||||
volumes:
|
volumes:
|
||||||
- '.:/go/src/go-json'
|
- '.:/go/src/go-json'
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in New Issue