summary refs log tree commit diff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-05-18 10:53:57 -0400
committerGitHub <noreply@github.com>2023-05-18 10:53:57 -0400
commit5dc1f25c53b5909e3aa39a6faac2d28e64e4a9a1 (patch)
tree64a327335f11a21e90695204d01d3d5b287e735c /.github/workflows/tests.yml
parentflake.nix: start synapse automatically, add space usage warning (#15613) (diff)
downloadsynapse-5dc1f25c53b5909e3aa39a6faac2d28e64e4a9a1.tar.xz
Fix olddeps build (#15626)
Do an `apt update` before install packages.
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 51cbeb3298..f84a4ef644 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -314,8 +314,9 @@ jobs:
       # There aren't wheels for some of the older deps, so we need to install
       # their build dependencies
       - run: |
+          sudo apt update
           sudo apt-get -qq install build-essential libffi-dev python-dev \
-          libxml2-dev libxslt-dev xmlsec1 zlib1g-dev libjpeg-dev libwebp-dev
+            libxml2-dev libxslt-dev xmlsec1 zlib1g-dev libjpeg-dev libwebp-dev
 
       - uses: actions/setup-python@v4
         with: