From c9c381ef4dbda3bae7bd5bf15e4f6c68dc7eb01c Mon Sep 17 00:00:00 2001 From: Depado Date: Fri, 16 Aug 2024 16:58:21 +0200 Subject: [PATCH] fix(ci): need passing tests before coverage (#83) --- .github/workflows/golang.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index 00ef5f5..2e1b73a 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -14,9 +14,10 @@ jobs: with: go-version: stable - name: test - run: go test -race -cover -covermode=atomic + run: go test -race coverage: + needs: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4