Skip to content

Update dependency com.pinterest.ktlint:ktlint-cli to v1.5.0 #1159

Update dependency com.pinterest.ktlint:ktlint-cli to v1.5.0

Update dependency com.pinterest.ktlint:ktlint-cli to v1.5.0 #1159

Workflow file for this run

on:
pull_request: {}
push:
branches:
- 'main*'
tags-ignore:
- '**'
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g"
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew build
- run: ./gradlew publish
if: startsWith(github.ref, 'refs/heads/main-')
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}