[ci] fix install of OS packages in CI workflows

We should be using "apt-get update" to update package lists before
installing any new packages. This has never mattered before, but
recently the installation of various packages started to fail with
404 errors, which are resolved by updating the package lists first.
This commit is contained in:
Rohan McGovern 2023-11-14 08:53:44 +10:00
parent 8b101d10fe
commit e5543a3454

View file

@ -15,8 +15,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Install OS packages
run: |
sudo apt-get -y update
sudo apt-get install -y libkrb5-dev
- name: Install Tox
run: pip install tox
- name: Run Tox