From 1de8bdee3ab0378abd19b4125fa1af4485678e2e Mon Sep 17 00:00:00 2001 From: nggit Date: Sat, 11 Jan 2025 09:23:43 +0700 Subject: [PATCH] fix ci --- .github/workflows/tests_and_coverage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests_and_coverage.yml b/.github/workflows/tests_and_coverage.yml index 3854fab..2e3de38 100644 --- a/.github/workflows/tests_and_coverage.yml +++ b/.github/workflows/tests_and_coverage.yml @@ -96,9 +96,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: List the modified files - run: echo "FILES_MODIFIED=$(git diff --name-only HEAD HEAD^)" >> $GITHUB_ENV + run: echo "FILES_MODIFIED=$(git diff --name-only HEAD HEAD^ | xargs)" >> $GITHUB_ENV - name: Install dependencies run: |