diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e004e503..98362527 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -12,11 +12,10 @@ 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 }}" + export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make vet - name: Unit tests run: |