diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index cff0d30b93b..b7f470a58d6 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -8,12 +8,21 @@ on: pull_request: jobs: unit-test: + name: Run tests and collect coverage runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v4 + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 with: go-version-file: go.mod + - name: Run Unit Tests run: make unit-test + + - name: Upload results to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}