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:
parent
75c739ce4f
commit
0728a4ead1
1 changed files with 8 additions and 6 deletions
14
.github/workflows/coverage.yml
vendored
14
.github/workflows/coverage.yml
vendored
|
@ -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: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue