Skip to content

Build, Publish script update, added git hook for code formatting. (#25) #40

Build, Publish script update, added git hook for code formatting. (#25)

Build, Publish script update, added git hook for code formatting. (#25) #40

Workflow file for this run

name: SonarCloud analysis
on: [push]
jobs:
sonarcloud:
name: SonarCloud analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Sonarcloud code analysis
run: |
mvn -B verify sonar:sonar \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.organization=infobip \
-Dsonar.projectKey=infobip_infobip-api-java-client \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}