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
33 lines
708 B
YAML
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
|