Set fetch-depth: 50 for the gerrit test
@@ -12,6 +12,8 @@ jobs:
go-version: 1.14
- uses: actions/checkout@v2
+ with:
+ fetch-depth: 50 # Need git history for testing.
# https://github.com/actions/cache/blob/master/examples.md#go---modules
- name: Cache Go Modules
