From 152d6dd4fb621c252cdf4307ebe764a599d5e538 Mon Sep 17 00:00:00 2001 From: Reto Schneider Date: Thu, 1 Apr 2021 13:17:08 +0200 Subject: [PATCH] [GH-182] ci: Refresh apt cache before installing Signed-off-by: Reto Schneider --- .github/workflows/build_and_test.yaml | 4 +++- .github/workflows/clang-static-analyzer.yaml | 4 +++- .github/workflows/coverage.yaml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 3f7354cae..b77d671ac 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -23,7 +23,9 @@ jobs: fetch-depth: 0 - name: Install dependencies from APT repository - run: sudo apt-get install libcunit1-dev wget unzip + run: | + sudo apt-get update + sudo apt-get install libcunit1-dev wget unzip - name: Install CMake uses: lukka/get-cmake@latest diff --git a/.github/workflows/clang-static-analyzer.yaml b/.github/workflows/clang-static-analyzer.yaml index e1d1adce7..5cd7a4f6b 100644 --- a/.github/workflows/clang-static-analyzer.yaml +++ b/.github/workflows/clang-static-analyzer.yaml @@ -14,7 +14,9 @@ jobs: fetch-depth: 0 - name: Install dependencies from APT repository - run: sudo apt-get install clang-tools-10 libcunit1-dev wget unzip + run: | + sudo apt-get update + sudo apt-get install clang-tools-10 libcunit1-dev wget unzip - name: Install CMake uses: lukka/get-cmake@latest diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 4b80db195..433bdc35f 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -14,7 +14,9 @@ jobs: fetch-depth: 0 - name: Install dependencies from APT repository - run: sudo apt-get install gcovr libcunit1-dev wget unzip + run: | + sudo apt-get update + sudo apt-get install gcovr libcunit1-dev wget unzip - name: Install CMake uses: lukka/get-cmake@latest