1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

.github/workflows/coverage.yml add test go install

This commit is contained in:
Grigory Efimov 2023-01-11 17:09:12 +03:00 committed by Mikhail Iudin
parent 75c739ce4f
commit 0728a4ead1
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -6,19 +6,21 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
GOPRIVATE: github.com/anytypeio
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.19.0'
- name: Vet
env:
GITHUB_TOKEN: ${{ github.token }}
- name: test go install
run: |
git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
go install github.com/anytypeio/go-chash@v0.0.1
- name: Vet
run: |
#git config --global http.extraheader "PRIVATE-TOKEN: ${{ github.token }}"
#git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
#export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
make vet
- name: Unit tests
run: |