From 52006d30cbd4911e8c6d2b7c9e233e78e64411b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francis=20Clairicia-Rose-Claire-Jos=C3=A9phine?= Date: Sun, 12 Nov 2023 16:19:04 +0100 Subject: [PATCH] CI: Force to fetch tags (#163) --- .github/workflows/build.yml | 2 ++ .github/workflows/lint.yml | 2 ++ .github/workflows/test.yml | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8a1c8a0..307c6a71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,6 +72,8 @@ jobs: SOURCE_DATE_EPOCH: ${{ inputs.SOURCE_DATE_EPOCH }} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup tox uses: ./.github/actions/setup-tox with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b0ecac83..e87c2f49 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,6 +45,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup tox uses: ./.github/actions/setup-tox with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d61f6200..70fd279e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup tox (python ${{ matrix.python_version }}) uses: ./.github/actions/setup-tox with: @@ -85,6 +87,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup tox (python ${{ matrix.python_version }}) uses: ./.github/actions/setup-tox with: