From 2d3bbb3c80fa9909c1a58db22d012191acf0bbc0 Mon Sep 17 00:00:00 2001 From: kminoda Date: Tue, 4 Jun 2024 17:08:12 +0900 Subject: [PATCH] avoid checking cppcheck dir Signed-off-by: kminoda --- .github/workflows/cppcheck-all.yaml | 5 +++-- .github/workflows/cppcheck-differential.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cppcheck-all.yaml b/.github/workflows/cppcheck-all.yaml index 7e00229a91e59..18b5308dee9a5 100644 --- a/.github/workflows/cppcheck-all.yaml +++ b/.github/workflows/cppcheck-all.yaml @@ -21,8 +21,9 @@ jobs: - name: Install Cppcheck from source run: | - git clone https://github.com/danmar/cppcheck.git - cd cppcheck + mkdir /tmp/cppcheck + git clone https://github.com/danmar/cppcheck.git /tmp/cppcheck + cd /tmp/cppcheck git checkout 2.14.1 mkdir build cd build diff --git a/.github/workflows/cppcheck-differential.yaml b/.github/workflows/cppcheck-differential.yaml index efa44a66d9376..bc5aa2b7ac432 100644 --- a/.github/workflows/cppcheck-differential.yaml +++ b/.github/workflows/cppcheck-differential.yaml @@ -18,8 +18,9 @@ jobs: - name: Install Cppcheck from source run: | - git clone https://github.com/danmar/cppcheck.git - cd cppcheck + mkdir /tmp/cppcheck + git clone https://github.com/danmar/cppcheck.git /tmp/cppcheck + cd /tmp/cppcheck git checkout 2.14.1 mkdir build cd build