Ensure git describe works during tests (#1280)

Resolve the error `fatal: No names found, cannot describe anything`
response coming out of calling git-describe due to fetch depth of 1.
This commit is contained in:
Darragh Bailey
2021-05-14 18:22:51 +01:00
committed by GitHub
parent 63eece71c9
commit 4edb9a6831
2 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up libvirt
run: |
sudo apt-get update

View File

@@ -45,6 +45,8 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Clone vagrant for ruby 3.0 support
if: ${{ matrix.ruby == '3.0.0' }}
uses: actions/checkout@v2