Skip to content

Commit d0b0ea0

Browse files
authored
Merge pull request #129 from andyzhangx/enable-action-all-branches
test: enable GH actions on all branches
2 parents d92f451 + 960cbdd commit d0b0ea0

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/darwin.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Darwin
22
on:
3-
push:
4-
branches: [ master ]
5-
pull_request:
6-
branches: [ master ]
3+
pull_request: {}
4+
push: {}
75
jobs:
86
build:
97
name: Unit Tests
@@ -17,4 +15,4 @@ jobs:
1715
- name: Check out code into the Go module directory
1816
uses: actions/checkout@v2
1917
- name: Run unit tests
20-
run: go test -v -race ./pkg/...
18+
run: go test -v -race ./pkg/...

.github/workflows/ubuntu.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Linux Unit tests
22
on:
3-
push:
4-
branches: [ master ]
5-
pull_request:
6-
branches: [ master ]
3+
pull_request: {}
4+
push: {}
75

86
jobs:
97

0 commit comments

Comments
 (0)