Skip to content

Update actions/checkout digest to b4ffde6 #43

Update actions/checkout digest to b4ffde6

Update actions/checkout digest to b4ffde6 #43

Workflow file for this run

---
name: sonar
on:
push:
branches:
- master
jobs:
sonar:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'zulu'
- uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn --batch-mode verify -Pjacoco -Dinvoker.skip && mvn --batch-mode verify -Psonar -Dinvoker.skip -Dsonar.qualitygate.wait=true