From: Michael Prokop Date: Thu, 19 May 2022 09:25:23 +0000 (+0200) Subject: github actions: ensure our apt cache is up2date X-Git-Tag: v2.11.1~3 X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=commitdiff_plain;h=35bb41fcb746ad7d1e4b817f8e7f35f489a36f9a github actions: ensure our apt cache is up2date Otherwise we might end up with outdated mirror information: | Err:77 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 lintian all 2.62.0ubuntu2 | 404 Not Found [IP: 40.119.46.219 80] | Fetched 4172 kB in 4s (951 kB/s) | E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/l/lintian/lintian_2.62.0ubuntu2_all.deb 404 Not Found [IP: 40.119.46.219 80] | E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Gbp-Dch: Ignore --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b06617b..c988196 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,9 @@ jobs: - name: Checkout source uses: actions/checkout@v2 + - name: Update APT cache + run: sudo apt-get update + - name: Install lintian run: sudo apt-get -y install lintian