Skip to content

Commit

Permalink
fix: ci, cov test
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Oct 10, 2022
1 parent e9ccd5a commit 905619a
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -216,11 +216,3 @@ jobs:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true








0 comments on commit 905619a

Please sign in to comment.