name: Lint (QML) on: pull_request: jobs: lint: runs-on: arch container: archlinux:latest steps: - name: Install tools run: | pacman -Syu --noconfirm pacman -S --noconfirm \ git \ nodejs \ npm \ qt6-declarative - name: Checkout uses: actions/checkout@v4 - name: QML lint run: | export PATH="$PATH:/usr/lib/qt6/bin:/usr/lib/qt6/libexec" if command -v qmllint >/dev/null 2>&1; then if [ -n "$(find . -name "*.qml" -print -quit)" ]; then find . -name "*.qml" -print0 | xargs -0 qmllint else echo "No QML files found" fi else echo "No qmllint in PATH" fi