Skip to content

CI: Update Gradle wrapper, run ktlintFormat and auto-commit changes #163

CI: Update Gradle wrapper, run ktlintFormat and auto-commit changes

CI: Update Gradle wrapper, run ktlintFormat and auto-commit changes #163

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
if: ${{ matrix.os != 'self-hosted' }}
with:
distribution: 'temurin'
java-version: '21'
- run: bash ./gradlew ktlintFormat ktlintCheck detekt lint test build connectedAndroidTest --stacktrace
- run: ./gradlew wrapper --gradle-version latest --stacktrace
- uses: stefanzweifel/git-auto-commit-action@v5