From 550ec3410147aac77a67cff4644c088d9c4fa132 Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk@hohndel.org>
Date: Wed, 5 Feb 2020 10:16:57 -0800
Subject: [PATCH] GitHub Actions: convert Coverity build to using container as
 well

Same build failures as we had with the other Bionic based build.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
---
 .github/workflows/coverity-scan.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml
index 152af5286..8e33bd933 100644
--- a/.github/workflows/coverity-scan.yml
+++ b/.github/workflows/coverity-scan.yml
@@ -6,6 +6,8 @@ on:
 jobs:
   CoverityScanBuildOnBionic:
     runs-on: ubuntu-18.04
+    container:
+      image: ubuntu:18.04 # yes, this looks redundant, but something is messed up with their Ubuntu image that causes our builds to fail
 
     steps:
     - name: checkout sources
@@ -13,8 +15,8 @@ jobs:
 
     - name: add build dependencies
       run: |
-        sudo apt update
-        sudo apt install -y \
+        apt update
+        apt install -y \
         autoconf automake cmake g++ git libcrypto++-dev libcurl4-gnutls-dev \
         libgit2-dev libqt5qml5 libqt5quick5 libqt5svg5-dev \
         libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libssl-dev \