ci: add clazy to image

This commit is contained in:
2 * r + 2 * t 2026-03-22 01:35:59 +11:00
parent 2a54c089a4
commit 921fb3504d

View file

@ -23,7 +23,7 @@ jobs:
run: | run: |
cat > /tmp/Dockerfile <<EOF cat > /tmp/Dockerfile <<EOF
FROM archlinux:latest FROM archlinux:latest
RUN pacman -Syu --needed --noconfirm sudo base-devel cmake ninja fish git clang qt6-declarative python && \ RUN pacman -Syu --needed --noconfirm sudo base-devel cmake ninja fish git clazy qt6-declarative python && \
useradd -m builder && \ useradd -m builder && \
echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \ echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
sudo -u builder git clone https://aur.archlinux.org/yay-bin.git /home/builder/yay-bin && \ sudo -u builder git clone https://aur.archlinux.org/yay-bin.git /home/builder/yay-bin && \