From 960cbdd09fd8cf12b6ca8adb026fb8d74ba126a7 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Mon, 4 Jan 2021 02:38:22 +0000 Subject: [PATCH] test: enable GH action on all branches --- .github/workflows/darwin.yaml | 8 +++----- .github/workflows/ubuntu.yaml | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml index 75acf942..9be5a98e 100644 --- a/.github/workflows/darwin.yaml +++ b/.github/workflows/darwin.yaml @@ -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/... \ No newline at end of file + run: go test -v -race ./pkg/... diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index fa4ae207..f90f73ab 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -1,9 +1,7 @@ name: Linux Unit tests on: - push: - branches: [ master ] - pull_request: - branches: [ master ] + pull_request: {} + push: {} jobs: