removal qml linter, not worth
This commit is contained in:
@@ -1,45 +0,0 @@
|
|||||||
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 \
|
|
||||||
base-devel \
|
|
||||||
git \
|
|
||||||
nodejs \
|
|
||||||
npm \
|
|
||||||
sudo \
|
|
||||||
qt6-declarative
|
|
||||||
|
|
||||||
- name: Install quickshell-git (AUR)
|
|
||||||
run: |
|
|
||||||
useradd -m builder
|
|
||||||
echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builder
|
|
||||||
chmod 440 /etc/sudoers.d/builder
|
|
||||||
su - builder -c "cd /tmp && git clone https://aur.archlinux.org/quickshell-git.git"
|
|
||||||
su - builder -c "cd /tmp/quickshell-git && makepkg -si --noconfirm --needed"
|
|
||||||
|
|
||||||
- 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
|
|
||||||
Reference in New Issue
Block a user