Skip to content

ARC-1986: Release to Maven Central #51

ARC-1986: Release to Maven Central

ARC-1986: Release to Maven Central #51

name: run unit tests
on:
push:
branches:
- 'main'
pull_request:
paths-ignore:
- '.github/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Build and test
run: mvn -B verify
- name: Sonar Report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar