From fbf0dd5c16f84f0c4d322c40d2a6f312d2d25b59 Mon Sep 17 00:00:00 2001 From: ISP akm Date: Sat, 22 Jun 2024 00:50:35 +0900 Subject: [PATCH] modify cppcheck-differential Signed-off-by: ISP akm --- .github/workflows/cppcheck-all-files.yaml | 6 ++++-- .github/workflows/cppcheck-differential.yaml | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cppcheck-all-files.yaml b/.github/workflows/cppcheck-all-files.yaml index d07862fb..2dee86d2 100644 --- a/.github/workflows/cppcheck-all-files.yaml +++ b/.github/workflows/cppcheck-all-files.yaml @@ -9,8 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Check out repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Install dependencies run: | diff --git a/.github/workflows/cppcheck-differential.yaml b/.github/workflows/cppcheck-differential.yaml index 8b315460..40e7d1ff 100644 --- a/.github/workflows/cppcheck-differential.yaml +++ b/.github/workflows/cppcheck-differential.yaml @@ -7,7 +7,6 @@ jobs: cppcheck-differential: runs-on: ubuntu-latest container: ros:humble - needs: build-and-test-differential steps: - name: Check out repository uses: actions/checkout@v4