From 0946670a2a4015b811604056fc1c4b7280e0503f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonnatan=20Oyarz=C3=BAn?= Date: Sat, 20 May 2023 15:08:41 -0400 Subject: [PATCH] fix: fix pipeline (#3) * fix: fix pipeline and action ginkgo --- .github/workflows/test.yml | 11 +++++------ action.yaml | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) 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 ./...