Bump net.sourceforge.plantuml:plantuml from 1.2024.8 to 1.2025.0 #86
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: Java CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() # run this step even if previous step failed | |
with: | |
name: Test reports | |
path: "**/build/test-results/**/TEST-*.xml" | |
reporter: java-junit | |
# requires 'Allow GitHub Actions to create and approve pull requests' to be enabled in Code and automation/Actions/General | |
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/[email protected] | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
target: minor | |
merge-method: squash |