1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 14:07:02 +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: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
GOPRIVATE: github.com/anytypeio
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '^1.19.0' go-version: '^1.19.0'
- name: Vet - name: test go install
env: run: |
GITHUB_TOKEN: ${{ github.token }} 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: | 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 make vet
- name: Unit tests - name: Unit tests
run: | run: |