Skip to content

task: remove license and rely on git license (#193) #107

task: remove license and rely on git license (#193)

task: remove license and rely on git license (#193) #107

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 }}