From 3481876a63c2518358ad93f236b12948003dc258 Mon Sep 17 00:00:00 2001 From: Claudio Catterina Date: Sun, 17 Mar 2024 20:15:32 +0100 Subject: [PATCH] ci: add lint action --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..5b9df60 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: + push: + branches: + - main + pull_request: + types: + - assigned + - opened + - synchronize + - reopened + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Validate QML and JavaScript files + uses: liri-infra/qmllint-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}