chore(CI/CD): add go1.18 version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2022-03-21 10:54:05 +08:00
parent 62265c893c
commit 11c7516906

View File

@ -21,14 +21,14 @@ jobs:
- name: Setup golangci-lint - name: Setup golangci-lint
uses: golangci/golangci-lint-action@v3.1.0 uses: golangci/golangci-lint-action@v3.1.0
with: with:
version: v1.44.0 version: v1.45.0
args: --verbose args: --verbose
test: test:
needs: lint needs: lint
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
go: [1.14, 1.15, 1.16, 1.17] go: [1.14, 1.15, 1.16, 1.17, 1.18]
test-tags: ['', nomsgpack] test-tags: ['', nomsgpack]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
@ -51,7 +51,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: | path: |