From 22082bd60a229a5781715831271a3faf0e5b3192 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 14 May 2024 10:01:52 +1200 Subject: [PATCH] CICD: Fix Coverity Scan Workflow. Change the ordering of steps so that git is installed before the checkout is performed. Signed-off-by: Michael Keller --- .github/workflows/coverity-scan.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml index cf23c7a35..d066dd924 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -11,12 +11,6 @@ jobs: image: ubuntu:22.04 steps: - - name: checkout sources - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: recursive - - name: add build dependencies run: | apt-get update @@ -33,6 +27,12 @@ jobs: qtpositioning5-dev qtscript5-dev qttools5-dev qttools5-dev-tools \ qtquickcontrols2-5-dev libbluetooth-dev libmtp-dev + - name: checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: recursive + - name: configure environment run: | git config --global --add safe.directory $GITHUB_WORKSPACE