test different repo apline
CI (Lint + Format Checks) / lint (pull_request) Successful in 1m48s

This commit is contained in:
2026-05-16 00:25:32 +02:00
parent 17fb9c0fef
commit 783d05f815
+6 -4
View File
@@ -14,16 +14,17 @@ jobs:
- name: Install tools - name: Install tools
run: | run: |
echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
apk update
apk add --no-cache \ apk add --no-cache \
bash \ bash \
git \ git \
python3 \ python3 \
py3-pip \ py3-pip \
rust rust
apk add --no-cache qt6-qtdeclarative-dev-tools || \ 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" echo "::warning::qmllint not available"
- name: Python lint - name: Python lint
@@ -74,6 +75,7 @@ jobs:
- name: QML lint - name: QML lint
run: | run: |
export PATH="$PATH:/usr/lib/qt6/bin:/usr/lib/qt6/libexec"
if command -v qmllint >/dev/null 2>&1; then if command -v qmllint >/dev/null 2>&1; then
if [ -n "$(find . -name "*.qml" -print -quit)" ]; then if [ -n "$(find . -name "*.qml" -print -quit)" ]; then
if ! find . -name "*.qml" -print0 | xargs -0 qmllint; then if ! find . -name "*.qml" -print0 | xargs -0 qmllint; then