diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index dab2a7f..9e83055 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -16,11 +16,18 @@ jobs: with: go-version-file: go.mod + - name: Connect to Tailnet + uses: tailscale/github-action@v2 + with: + args: --accept-dns=true + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:github-runner + version: 1.62.1 + - name: Runing tests for coverage run: | go test -race -coverprofile=coverage.out -covermode=atomic `go list ./... | grep -v vendor/` -v - env: - TIBIADATA_PROXY: ${{ secrets.TIBIADATA_PROXY }} - name: Uploading coverage to Codecov uses: codecov/codecov-action@v4