Merge pull request #129 from andyzhangx/enable-action-all-branches
test: enable GH actions on all branches
This commit is contained in:
commit
d0b0ea08c3
8
.github/workflows/darwin.yaml
vendored
8
.github/workflows/darwin.yaml
vendored
@ -1,9 +1,7 @@
|
||||
name: Darwin
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
pull_request: {}
|
||||
push: {}
|
||||
jobs:
|
||||
build:
|
||||
name: Unit Tests
|
||||
@ -17,4 +15,4 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
- name: Run unit tests
|
||||
run: go test -v -race ./pkg/...
|
||||
run: go test -v -race ./pkg/...
|
||||
|
||||
6
.github/workflows/ubuntu.yaml
vendored
6
.github/workflows/ubuntu.yaml
vendored
@ -1,9 +1,7 @@
|
||||
name: Linux Unit tests
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
pull_request: {}
|
||||
push: {}
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user