Skip to content

Commit

Permalink
Run super linter in CI
Browse files Browse the repository at this point in the history
It uses ktlint for Kotlin.

See openhab#3640

Signed-off-by: mueller-ma <[email protected]>
  • Loading branch information
mueller-ma committed Apr 16, 2024
1 parent 97eeaa0 commit c02ca75
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_KOTLIN: true

0 comments on commit c02ca75

Please sign in to comment.