Skip to content

Update NationalIdServiceTest #33

Update NationalIdServiceTest

Update NationalIdServiceTest #33

Workflow file for this run

name: SonarQube
on:
push:
branches: [ "main" ]
paths-ignore:
- README.md
pull_request:
types: [ opened, synchronize, reopened ]
paths-ignore:
- README.md
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
cache: 'maven'
- name: Cache SonarQube 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 }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Imorate_PersianTools4J