From ec2e9ea5158ab1ddf3e322b89546a06f473aedaa Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Sat, 30 Mar 2024 09:01:44 +0100 Subject: [PATCH] switch from custom proxy to tailscale vpn (#339) --- .github/workflows/codecov.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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