diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e004e503..fbee34c5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -12,11 +12,11 @@ jobs: with: go-version: '^1.19.0' - - name: git config - run: | - git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}" - name: Vet run: | + git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}" + git config --global url."ssh://git@github.com/".insteadOf "https://github.com/" + export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make vet - name: Unit tests run: |