fix .github/workflows/coverage.yml

This commit is contained in:
Grigory Efimov 2023-01-11 16:25:52 +03:00 committed by Mikhail Iudin
parent 5b08cba028
commit 195ac70726
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -13,10 +13,12 @@ jobs:
go-version: '^1.19.0' go-version: '^1.19.0'
- name: Vet - name: Vet
env:
GITHUB_TOKEN: ${{ github.token }}
run: | run: |
git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}" #git config --global http.extraheader "PRIVATE-TOKEN: ${{ github.token }}"
git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/" #git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} #export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
make vet make vet
- name: Unit tests - name: Unit tests
run: | run: |