From f52b9544b2ebf070e93244e63a558a34fac0eeca Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 14 Jul 2024 08:12:40 +0200 Subject: [PATCH] tests: Apply checkout workflow workaround for tests workflow See commit 825fd7a8. This broke the version test for release tag runs. --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ec935f0..8efdb11 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,9 @@ jobs: # need this to also fetch tags fetch-depth: 0 + - name: Workaround for https://github.com/actions/checkout/pull/697 + run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags) + - name: Run unit tests run: | dpkg -s podman docker || true