From 698adb2c59aa23f39411ef8d221b6bfaae9cb5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edwin=20T=C3=B6r=C3=B6k?= Date: Wed, 24 Apr 2024 00:09:49 +0100 Subject: [PATCH] install deps --- .github/workflows/codechecker.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codechecker.yml b/.github/workflows/codechecker.yml index 63284a135f..90831946ed 100644 --- a/.github/workflows/codechecker.yml +++ b/.github/workflows/codechecker.yml @@ -34,14 +34,18 @@ jobs: - name: Generate compile_commands.json run: opam exec -- dune rules | opam exec -- dune-compiledb + - name: Fixup paths + run: | + sed -e 's/"directory".*/"directory": "."/' cmds.json + - uses: whisperity/codechecker-analysis-action@v1 id: codechecker with: ctu: true - logfile: ${{ github.workspace }}/compile_commands.json + logfile: ${{ github.workspace }}/cmds.json analyze-output: "codechecker_results" - # cppcheck even for other analyzers apparently, this is + # cppcheck even for other analyzers apparently, this is # codechecker's output - uses: whisperity/codechecker-analysis-action@v1 id: codechecker2