From 7dbb5013844d296d625634a04d5d5cb6d7841e19 Mon Sep 17 00:00:00 2001 From: James Bradlee Date: Mon, 1 Apr 2024 10:57:21 +0200 Subject: [PATCH] Add ktlint check for Kotlin files Signed-off-by: James Bradlee --- .github/workflows/quality-assurance.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/quality-assurance.yaml b/.github/workflows/quality-assurance.yaml index d359083..3934f2b 100644 --- a/.github/workflows/quality-assurance.yaml +++ b/.github/workflows/quality-assurance.yaml @@ -41,6 +41,7 @@ jobs: args=$(gh pr diff --name-only ${{ github.event.number }} | grep -E "\.kts?$" | xargs printf -- '%s\n' | tr '\n' ' ') fi if [[ -n "$args" ]]; then + echo "Running ktlint on: $args" ktlint --relative $args fi env: