Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Dependency(deps): Bump io.github.ardoco.core:parent from 0.25.0 to 0.… #71

Dependency(deps): Bump io.github.ardoco.core:parent from 0.25.0 to 0.…

Dependency(deps): Bump io.github.ardoco.core:parent from 0.25.0 to 0.… #71

Workflow file for this run

name: SonarCloud Scan
on:
push:
branches: [ main, cleanup, refactoring, restructuring ]
pull_request:
types: [ opened, synchronize, reopened ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sonar:
name: SonarCloud Scan
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: joshlong/java-version-export-github-action@v28
id: jve
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ steps.jve.outputs.java_major_version }}
cache: 'maven'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar