From 905619a39f7eaa55563623cdb2bb742652d495cd Mon Sep 17 00:00:00 2001 From: Hedzr Yeh Date: Mon, 10 Oct 2022 16:16:31 +0800 Subject: [PATCH] fix: ci, cov test --- .github/workflows/go.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a290511..2c42741 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,12 +2,12 @@ name: Go on: push: - branches: [ master ] + branches: [master] # Sequence of patterns matched against refs/tags tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 pull_request: - branches: [ master ] + branches: [master] # types: [assigned, opened, synchronize, reopened] #on: [push, pull_request] @@ -19,9 +19,9 @@ jobs: test: strategy: matrix: - go-version: [ 1.13.x, 1.16.x, 1.17.x ] # 1.13.x, 1.14.x, 1.15.x, + go-version: [1.13.x, 1.17.x, 1.18.x] # 1.13.x, 1.14.x, 1.15.x, #os: [ubuntu-latest, macos-latest, windows-latest] - os: [ ubuntu-latest ] + os: [ubuntu-latest] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -56,7 +56,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.16.x + go-version: 1.18.x - name: Checkout code uses: actions/checkout@v2 #with: @@ -86,7 +86,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.16.x + go-version: 1.18.x - name: Checkout code uses: actions/checkout@v2 #with: @@ -216,11 +216,3 @@ jobs: - uses: shogo82148/actions-goveralls@v1 with: parallel-finished: true - - - - - - - -