Skip to content

Bump com.github.navikt:pto-schema from 1.2021.07.01_08.22-f7c78425a00a to 1.2023.10.20_06.13-e6b4845c2a39 #332

Bump com.github.navikt:pto-schema from 1.2021.07.01_08.22-f7c78425a00a to 1.2023.10.20_06.13-e6b4845c2a39

Bump com.github.navikt:pto-schema from 1.2021.07.01_08.22-f7c78425a00a to 1.2023.10.20_06.13-e6b4845c2a39 #332

Workflow file for this run

name: Test, build, Sonar
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
sonar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: 'maven'
- name: Build and test
run: mvn -B package
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar