Skip to content

Commit

Permalink
Merge pull request #571 from siarhei-luskanau/lintKotlin
Browse files Browse the repository at this point in the history
Format kotlin files in Github Actions
  • Loading branch information
nbransby authored Jul 27, 2024
2 parents d80a467 + 037a403 commit 70d0514
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Push

on: [ push ]

jobs:
formatKotlin:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: formatKotlin
run: ./gradlew formatKotlin
- uses: stefanzweifel/git-auto-commit-action@v5
- name: lintKotlin
run: ./gradlew lintKotlin

0 comments on commit 70d0514

Please sign in to comment.