specify fetch-depth for testing
@@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ with:
+ fetch-depth: 50 # Need git history for testing.
- uses: actions/setup-go@v2
with:
go-version: 1.15
