From 72df9325076c9b740a335e68418df4ef08333206 Mon Sep 17 00:00:00 2001 From: Josef Angstenberger Date: Fri, 13 Jan 2023 03:17:07 +0100 Subject: [PATCH] CI: Do update package index on Linux GitHub advises to do a `apt-get update` first. https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners --- .github/workflows/ci-linux.yml | 3 +++ .github/workflows/qa.yml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 88fd8acf..f2a91ef8 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -20,6 +20,9 @@ jobs: - clang-14 steps: + - name: Update system + run: sudo apt-get update + - name: Install prerequisites run: >- sudo apt-get install -y diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 40e49758..ab4901a4 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -8,6 +8,9 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Update system + run: sudo apt-get update + - name: Install prerequisites run: >- sudo apt-get install -y @@ -61,6 +64,9 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Update system + run: sudo apt-get update + - name: Install prerequisites run: >- sudo apt-get install -y @@ -110,6 +116,9 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Update system + run: sudo apt-get update + - name: Install prerequisites run: >- sudo apt-get install -y