Skip to content

Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 in the maven-plugins group #60

Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 in the maven-plugins group

Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.0 to 3.10.1 in the maven-plugins group #60

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 (Solr ${{ matrix.solr }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
solr:
- 9.0.0
- 9.2.1
- 9.3.0
- 9.4.1
- 9.5.0
- 9.6.1
- 9.7.0
include:
- solr: 9.7.0
sonar: enabled
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 verify
-Dsolr.version=${{matrix.solr}}
-Psonarcloud
-Dsonar.projectKey=redlink-gmbh_solr-advanced-suggester
-Dsonar.skip=${{ github.actor == 'dependabot[bot]' || matrix.sonar != 'enabled' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Upload Test-Results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: Test Results (Solr ${{matrix.solr}})
path: '**/TEST-*.xml'
test-results:
name: Test Results
needs: [ build ]
runs-on: ubuntu-latest
if: ${{ !cancelled() }}
steps:
- name: Fetch Test-Results
uses: actions/download-artifact@v4
with:
path: test-results
- name: Report Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: 'test-results/**/TEST-*.xml'
action_fail: 'true'
action_fail_on_inconclusive: 'true'