Skip to content

Bump org.jlleitschuh.gradle.ktlint from 11.6.1 to 12.1.1 #20

Bump org.jlleitschuh.gradle.ktlint from 11.6.1 to 12.1.1

Bump org.jlleitschuh.gradle.ktlint from 11.6.1 to 12.1.1 #20

Workflow file for this run

name: Build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Cache Gradle
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run ktlintFormat
run: ./gradlew ktlintFormat
- name: Run ktlintCheck
run: ./gradlew ktlintCheck
- name: Run Unit Tests
run: ./gradlew test
- name: Run debug Build
run: ./gradlew assembleDebug