qml goes to Ubuntu for simplicity
Format (JS/TS) / format (pull_request) Failing after 9s
Lint (JS/TS) / lint (pull_request) Failing after 18s
Lint (Python) / lint (pull_request) Failing after 22s
Lint (Rust) / lint (pull_request) Successful in 34s
Lint (QML) / lint (pull_request) Has been cancelled

This commit is contained in:
2026-05-16 00:41:11 +02:00
parent beb1d96750
commit 383671344f
+6 -11
View File
@@ -5,8 +5,8 @@ on:
jobs:
lint:
runs-on: alpine
container: node:20-alpine
runs-on: ubuntu
container: ubuntu:24.04
steps:
- name: Checkout
@@ -14,18 +14,13 @@ jobs:
- name: Install tools
run: |
apk add --no-cache \
git
edge_main="https://dl-cdn.alpinelinux.org/alpine/edge/main"
edge_community="https://dl-cdn.alpinelinux.org/alpine/edge/community"
apk add --no-cache -X "$edge_main" -X "$edge_community" qt6-qtdeclarative-dev-tools || \
apk add --no-cache -X "$edge_main" -X "$edge_community" qt6-qtdeclarative-dev || \
apk add --no-cache -X "$edge_main" -X "$edge_community" qt6-qtdeclarative || \
echo "::warning::qmllint not available"
apt-get update
apt-get install -y --no-install-recommends \
git \
qt6-declarative-dev-tools
- 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