github actions: ensure our apt cache is up2date
authorMichael Prokop <mika@grml.org>
Thu, 19 May 2022 09:25:23 +0000 (11:25 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 19 May 2022 09:25:23 +0000 (11:25 +0200)
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

.github/workflows/tests.yml

index b06617b..c988196 100644 (file)
@@ -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