Files
z-bar-qt/.gitea/workflows/lint-qml.yml
T
AramJonghu fb2c9c6a21
Format (JS/TS) / format (pull_request) Failing after 10s
Lint (JS/TS) / lint (pull_request) Failing after 17s
Lint (Python) / lint (pull_request) Failing after 25s
Lint (QML) / lint (pull_request) Failing after 37s
Lint (Rust) / lint (pull_request) Successful in 42s
qml goes to debian:sid for simplicity
2026-05-16 00:43:03 +02:00

33 lines
708 B
YAML

name: Lint (QML)
on:
pull_request:
jobs:
lint:
runs-on: debian
container: debian:sid
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools
run: |
apt-get update
apt-get install -y --no-install-recommends \
git \
qt6-declarative-dev-tools
- name: QML lint
run: |
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