From 03c770626f56d3815433df59bbea8fbf932fe1e4 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 2 Jun 2024 00:07:58 +0200 Subject: build: run `apt update` before installing dependencies --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d00a04c..101097e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,7 @@ jobs: - name: Install dependencies (Ubuntu) if: ${{ matrix.os == 'ubuntu-latest' }} run: | + sudo apt update sudo apt install -y libcmocka-dev ninja-build ronn if [[ "${{ matrix.variant }}" = "memcheck" ]]; then sudo apt install -y valgrind @@ -142,6 +143,7 @@ jobs: - name: Install dependencies run: | + sudo apt update sudo apt install -y ninja-build ronn if [[ "${{ matrix.pkg }}" = "windows-i686" ]]; then sudo apt install -y gcc-mingw-w64-i686 @@ -203,7 +205,9 @@ jobs: path: source - name: Install dependencies - run: sudo apt install -y ninja-build ronn + run: | + sudo apt update + sudo apt install -y ninja-build ronn - name: Validate source run: | -- cgit v1.2.3-18-g5258