This commit is contained in:
2026-02-23 22:34:50 +00:00
commit 603d5b51bd
19 changed files with 1381 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
name: Lint
on:
push:
paths:
- "**/*.qml"
- "**/*.c"
- "**/*.cc"
- "**/*.cpp"
- "**/*.h"
- "**/*.hh"
- "**/*.hpp"
- "**/*.json"
- "**/*.yml"
- "**/*.yaml"
- "**/*.md"
- ".prettierrc"
- ".clang-format"
- ".clangd"
- "Makefile"
- "cpp/CMakeLists.txt"
- "cpp/CMakePresets.json"
- ".github/workflows/lint.yml"
pull_request:
paths:
- "**/*.qml"
- "**/*.c"
- "**/*.cc"
- "**/*.cpp"
- "**/*.h"
- "**/*.hh"
- "**/*.hpp"
- "**/*.json"
- "**/*.yml"
- "**/*.yaml"
- "**/*.md"
- ".prettierrc"
- ".clang-format"
- ".clangd"
- "Makefile"
- "cpp/CMakeLists.txt"
- "cpp/CMakePresets.json"
- ".github/workflows/lint.yml"
jobs:
lint:
runs-on: ubuntu-latest
container:
image: kdeorg/plasma-sdk:latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install prettier
run: npm i -g prettier
- name: Run lint checks
run: make lint