Skip to content

Commit

Permalink
up: update go.yaml, enable action on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Oct 28, 2022
1 parent b32b64c commit 0d5e4b8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Unit-Tests
on:
pull_request:
paths:
- 'go.mod'
- '**.go'
- '**.yml'
push:
paths:
- 'go.mod'
- '**.go'
- '**.yml'

jobs:

Expand All @@ -12,7 +18,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go_version: [1.15, 1.16, 1.17, 1.18]
go_version: [1.19, 1.16, 1.17, 1.18]
os: [ubuntu-latest, macOS-latest]

steps:
Expand Down Expand Up @@ -46,4 +52,4 @@ jobs:
steps:
- uses: shogo82148/actions-goveralls@v1.6.0
with:
parallel-finished: true
parallel-finished: true

0 comments on commit 0d5e4b8

Please sign in to comment.