diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 856494dff2..f3425c1098 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -25,12 +25,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - - name: Setup golang - uses: ./.github/actions/golang - - - name: Run unit tests - run: make test-unit - name: Run coverage run: go test -race -coverprofile=coverage.out -covermode=atomic @@ -38,4 +32,10 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1 with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Setup golang + uses: ./.github/actions/golang + + - name: Run unit tests + run: make test-unit \ No newline at end of file