ci: fix pre-commit test

Resolve the libatomic dependency issue.
This commit is contained in:
Kate Hsuan 2025-10-21 16:51:40 +08:00
parent 8ce78b7f9e
commit 9c8769d7df

View file

@ -55,6 +55,7 @@ image: $FEDORA_IMAGE
pre_commit:
stage: pre-commit
script:
- dnf install -y libatomic
- dnf install -y pre-commit
- pre-commit run --all-files
@ -299,4 +300,4 @@ container_debian_build:
echo "deb-src http://deb.debian.org/debian/ trixie main contrib non-free" >> /etc/apt/sources.list &&
apt update &&
apt build-dep -y upower &&
curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash