Skip to content

GitHub Actions(deps): Bump sqren/backport-github-action from 9.3.0 to… #102

GitHub Actions(deps): Bump sqren/backport-github-action from 9.3.0 to…

GitHub Actions(deps): Bump sqren/backport-github-action from 9.3.0 to… #102

Workflow file for this run

name: Sonar
on:
push:
branches:
- master
env:
CI: true
jobs:
code-scan:
name: Code Scan
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
cache: maven
- name: Build with Maven and Coverage/Sonar
run: mvn verify -P coverage,sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}