From 43dec7a48eab8f725b654fdd058e20ec65608d9d Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 30 Jan 2021 14:38:08 -0500 Subject: LOL FML - put the right code in the wrong place last time --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd0c66a2..95464c23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,10 +23,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 + with: + # Only a single commit is fetched by default, for the ref/SHA that triggered the workflow. + # Set fetch-depth: 0 to fetch all history for all branches and tags. + fetch-depth: 0 # Needed for setuptools_scm to work correctly - name: Set up Python uses: actions/setup-python@v2 with: - fetch-depth: 0 # Needed for setuptools_scm to work correctly python-version: ${{ matrix.python-version }} - name: Cache dependencies id: cache-deps -- cgit v1.2.1