ci: fix apt error

This commit is contained in:
Aloxaf Yin 2025-09-18 10:02:25 +08:00
parent 6d7fb94ef5
commit fac145167f
No known key found for this signature in database
GPG key ID: 0F8D23F44B277E02

View file

@ -31,6 +31,14 @@ jobs:
with:
fetch-depth: 1
# https://github.com/actions/runner-images/issues/12627
- name: update sources
run: |
rm /etc/apt/sources.list
echo 'deb http://archive.debian.org/debian buster main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://archive.debian.org/debian buster-updates main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://archive.debian.org/debian-security buster/updates main contrib non-free' >> /etc/apt/sources.list
- name: install dependencies
run: apt update && apt-get install -y git curl build-essential autoconf libncurses-dev
@ -42,4 +50,3 @@ jobs:
- name: test binary module
run: cd test && zsh -f runtests.zsh fzftab.ztst