Skip to content

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 #1223

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 #1223

name: Build & Test
on:
push:
branches-ignore:
- "main"
- "maintenance/v*"
pull_request:
types: [ opened, synchronize, reopened ]
permissions:
checks: write
pull-requests: write
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java/Maven
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Compile & Test
run: ./mvnw -V -B --no-transfer-progress
clean
org.jacoco:jacoco-maven-plugin:prepare-agent
verify
org.jacoco:jacoco-maven-plugin:report
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
-Dnominatim.email="${{ secrets.NOMINATIM_USER }}"
-Dgoogle.apiKey="${{ secrets.GOOGLE_API_KEY }}"
-Dsonar.skip=${{ github.actor == 'dependabot[bot]' }}
-Dsonar.organization=redlink
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.projectKey=redlink-gmbh_redlink-geocoding
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: '**/TEST-*.xml'