From d0f6c72de5e554ee19f053f022494dbff2aa5de5 Mon Sep 17 00:00:00 2001 From: Martin Kalcok Date: Thu, 24 Oct 2024 17:25:15 +0200 Subject: [PATCH] ci: run `apt update` before installing packages We've seen some issues with 'coverage' job that failed to install 'go' package. This is possibly caused by outdated repository information in the CI image. Running `apt update` could fix it. Signed-off-by: Martin Kalcok --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ac5580f9..e8a67e79 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -161,6 +161,7 @@ jobs: steps: - name: Install dependencies run: | + sudo apt update sudo apt install -yqq golang go install github.com/boumenot/gocover-cobertura@v1.2.0