Skip to content

build(deps): bump com.pinterest.ktlint:ktlint-cli from 1.4.1 to 1.5.0… #2956

build(deps): bump com.pinterest.ktlint:ktlint-cli from 1.4.1 to 1.5.0…

build(deps): bump com.pinterest.ktlint:ktlint-cli from 1.4.1 to 1.5.0… #2956

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven
if: github.actor == 'dependabot[bot]'
env:
GITHUB_USERNAME: x-access-token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn package --settings .m2/maven-settings.xml --file pom.xml
- name: SonarCloud
if: github.actor != 'dependabot[bot]'
env:
GITHUB_USERNAME: x-access-token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_PROJECTKEY: ${{ secrets.SONAR_PROJECTKEY }}
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
run: mvn verify --settings .m2/maven-settings.xml --file pom.xml
#run: mvn verify sonar:sonar --settings .m2/maven-settings.xml --file pom.xml