Skip to content

Merge pull request #204 from sebasbaumh/dependabot/maven/org.codehaus… #214

Merge pull request #204 from sebasbaumh/dependabot/maven/org.codehaus…

Merge pull request #204 from sebasbaumh/dependabot/maven/org.codehaus… #214

Workflow file for this run

name: sonarcloud
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: maven
- name: Analyze with sonarcloud
run: mvn --batch-mode verify sonar:sonar -Dsonar.projectKey=sebasbaumh_postgis-java-ng -Dsonar.organization=sebasbaumh -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}