coverage.yml add GOPRIVATE

This commit is contained in:
Grigory Efimov 2023-01-11 15:16:18 +03:00 committed by Grigory Efimov
parent 0dd992b7a6
commit d0ac577686

View File

@ -15,19 +15,9 @@ jobs:
- name: git config
run: |
git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}"
- name: Create issue using REST API
run: |
curl --request POST \
--url https://api.github.com/repos/${{ github.repository }}/issues \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
"title": "Automated issue for commit: ${{ github.sha }}",
"body": "This issue was automatically created by the GitHub Action workflow **${{ github.workflow }}**. \n\n The commit hash was: _${{ github.sha }}_."
}' \
--fail
- name: Vet
run: |
go env -w GOPRIVATE=github.com/anytypeio/*
make vet
- name: Unit tests
run: |