From 1ec5f421d00ed547e937853cd2ca0ede234d96e3 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 23 Nov 2020 18:38:23 -0800 Subject: [PATCH] github actions checkout parameter should allow getting the latest tag and avoid `No names found, cannot describe anything` --- .github/workflows/go.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9ccbc0b..f87fd52 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,6 +19,8 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 + with: + fetch-depth: '0' - name: Test & Vet run: make test vet