Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 859c33240bd026ce8d5f711f5adcc65c2f8eafc1 to 1.0.4. This release includes the previously tagged commit. - [Release notes](https://github.com/gradle/wrapper-validation-action/releases) - [Commits](https://github.com/gradle/wrapper-validation-action/compare/859c33240bd026ce8d5f711f5adcc65c2f8eafc1...e6e38bacfdf1a337459f332974bb2327a31aaf4b) --- updated-dependencies: - dependency-name: gradle/wrapper-validation-action dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: Fineract Sonarqube
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
env:
|
|
TZ: Asia/Kolkata
|
|
SONAR_ORGANIZATION: ${{ secrets.SONAR_ORGANIZATION }}
|
|
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY }}
|
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 # tag=v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'zulu'
|
|
cache: gradle
|
|
- name: Validate Gradle wrapper
|
|
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
|
- name: Sonarqube
|
|
run: ./gradlew --no-daemon --console=plain -Dsonar.verbose=true -Dsonar.login=$SONAR_TOKEN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.organization=$SONAR_ORGANIZATION -Dsonar.projectKey=$SONAR_PROJECT_KEY --info --stacktrace sonarqube
|