diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c4edd04..3eddd40 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,11 +3,9 @@ name: Go on: push: branches: [ main ] - pull_request: - branches: [ main ] jobs: - Unit_test: + unit_test: name: Unit test runs-on: ubuntu-latest steps: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 239a04f..79e418d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -68,6 +68,23 @@ jobs: make lint make gofmt + unit_test: + name: Unit test + runs-on: ubuntu-latest + steps: + - name: Set up Go 1.18 + uses: actions/setup-go@v1 + with: + go-version: 1.18 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: Get dependencies + run: | + export GOBIN=$(pwd)/bin/ + make .install.ginkgo goreportcard: name: update reportcard