Refactored buildSettings variable to encodeNextWith cli #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |