Skip to content

#411 more @CheckReturnValue annotations #491

#411 more @CheckReturnValue annotations

#411 more @CheckReturnValue annotations #491

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# The last 2 LTS releases + latest version
java: [ 17, 21, 22 ]
name: Java ${{matrix.java}}
steps:
- uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{matrix.java}}
- name: Build with Maven
run: mvn -B package
- name: 'Upload test results'
uses: actions/upload-artifact@v4
if: always()
with:
name: test-report-${{matrix.java}}
retention-days: 14
path: |
**/target/site
**/target/surefire-reports
auto-merge-dependabot:
name: 🤖 Auto merge dependabot PR
timeout-minutes: 10
needs: [ build ]
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: 🤖 Merge PR from dependabot
uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
target: minor
merge-method: rebase