Update ci.yml

This commit is contained in:
Oskar 2021-10-21 23:06:46 +02:00 committed by GitHub
parent acad3d034c
commit c4106ac011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,12 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Repo clone (test)
if: github.event_name != 'pull_request'
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Test
run: go test -v ./...