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 <mikeller@042.ch>
This commit is contained in:
Michael Keller 2024-05-14 10:01:52 +12:00
parent be1b80ea8a
commit 22082bd60a

View file

@ -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