make few fields in Java2DRenderer final #470
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |