diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5558077..21ec0ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - feature/** jobs: test: runs-on: ubuntu-latest @@ -12,10 +11,10 @@ jobs: - uses: actions/checkout@v3 - name: gotest uses: ./ - with: - workdir: test-gotest + with: + workdir: test-gotest - name: goginkgo uses: ./ - with: - workdir: test-ginkgo - use-ginkgo: true + with: + workdir: test-ginkgo + use-ginkgo: true diff --git a/action.yaml b/action.yaml index 0c21fb5..550480c 100644 --- a/action.yaml +++ b/action.yaml @@ -55,6 +55,7 @@ runs: run: | cd "$WORKDIR" if $USE_GINKGO -eq "true"; then + go install github.com/onsi/ginkgo/v2/ginkgo ginkgo -v -cover -covermode=count -coverpkg=./... ./... else go test -v -coverprofile=coverprofile.out ./...