Skip to content

Update the SNAPSHOT to a release version. #34

Update the SNAPSHOT to a release version.

Update the SNAPSHOT to a release version. #34

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build project and check quality
on:
push:
branches: [ main, feature/* ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Unit tests
run: mvn -B test --file pom.xml
# sonarquality:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# # Disabling shallow clone is recommended for improving relevancy of reporting
# fetch-depth: 0
# - name: SonarCloud Quality Scan
# uses: sonarsource/sonarcloud-github-action@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}