Skip to content

Commit

Permalink
Added ktlint pipeline for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
spacecowboy committed May 30, 2024
1 parent a896054 commit 1988d04
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 36 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/android_pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,23 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: build packageDebugAndroidTest :app:lint check

# Lint
ktlint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: perform the checkout
uses: actions/checkout@v3

- name: setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: ktlint check
uses: gradle/gradle-build-action@v2
with:
arguments: ktlintCheck
16 changes: 0 additions & 16 deletions .gitlab/issue_templates/Bug.md

This file was deleted.

1 change: 0 additions & 1 deletion .gitlab/issue_templates/Feature.md

This file was deleted.

19 changes: 0 additions & 19 deletions .gitlab/merge_request_templates/patch.md

This file was deleted.

0 comments on commit 1988d04

Please sign in to comment.