From c02ca7521871074ebce0346d3c637f6691b8c2ce Mon Sep 17 00:00:00 2001 From: mueller-ma Date: Sun, 14 Apr 2024 15:00:39 +0200 Subject: [PATCH] Run super linter in CI It uses ktlint for Kotlin. See #3640 Signed-off-by: mueller-ma --- .github/workflows/lint.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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 0000000000..376857dbc2 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,30 @@ +name: Run super-linter + +on: + push: + branches-ignore: + - l10n_main + - dependabot/* + pull_request: + branches-ignore: + - l10n_main + +permissions: + contents: read + packages: read + statuses: write + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Lint Code Base + uses: super-linter/super-linter@v6.3.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_KOTLIN: true