From 41ee9cbfff81bbbade7268cf62cf9c8fdc27841d Mon Sep 17 00:00:00 2001 From: Andy Alt Date: Sat, 10 Jul 2021 14:38:51 -0500 Subject: [PATCH] fix FILES variable (fetch all history when checking out) (#2561) --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84bdf943..1b431489 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,11 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 + # https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches + # According to the docs for checkout@v2, Only a single commit is fetched by default, but + # providing a fetch-depth of 0 should fetch all history. + with: + fetch-depth: 0 - name: Install dependencies run: | sudo apt update