summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 14:38:08 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 14:38:08 -0500
commit43dec7a48eab8f725b654fdd058e20ec65608d9d (patch)
treef65156e1d9589afc0aefbea24e798c7f400b82ad /.github/workflows
parentbd0341102daf7132420b941c56b9d8a5f9297070 (diff)
downloadcmd2-git-43dec7a48eab8f725b654fdd058e20ec65608d9d.tar.gz
LOL FML - put the right code in the wrong place last time
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 4 insertions, 1 deletions
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