Skip to content

chore(deps): update actions/checkout action to v4 #41

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #41

Workflow file for this run

---
name: sonar
on:
push:
branches:
- master
jobs:
sonar:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-java@v3
with:
java-version: 11
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: mvn --errors --batch-mode clean package -Psonar -Dsonar.login=${{ secrets.SONAR_LOGIN }}