update Gradle from 9.1.0 to 9.3.0 #443
This file contains hidden or 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: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-with-gradle: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| gradle-task: [ 'chrome', 'firefox' ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Firefox | |
| if: ${{ matrix.gradle-task == 'firefox' }} | |
| uses: browser-actions/setup-firefox@latest | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25-ea' | |
| distribution: 'temurin' | |
| cache: 'gradle' | |
| - name: Setup FFmpeg | |
| uses: AnimMouse/setup-ffmpeg@v1 | |
| - run: ffmpeg -version | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Compile | |
| run: ./gradlew testClasses --no-daemon --console=plain | |
| - name: Run tests | |
| uses: coactions/setup-xvfb@v1 | |
| with: | |
| run: ./gradlew ${{matrix.gradle-task}} --no-daemon --console=plain | |
| - name: Upload test report | |
| uses: actions/upload-artifact@v6 | |
| if: always() | |
| with: | |
| name: test-report-gradle-${{matrix.gradle-task}} | |
| retention-days: 14 | |
| path: | | |
| **/build/reports | |
| **/build/test-results | |
| build-with-maven: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| gradle-task: [ 'chrome', 'firefox' ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Firefox | |
| if: ${{ matrix.gradle-task == 'firefox' }} | |
| uses: browser-actions/setup-firefox@latest | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25-ea' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Setup FFmpeg | |
| uses: AnimMouse/setup-ffmpeg@v1 | |
| - run: ffmpeg -version | |
| - name: Compile | |
| run: mvn test-compile | |
| - name: Run tests | |
| uses: coactions/setup-xvfb@v1 | |
| with: | |
| run: mvn test -P ${{matrix.gradle-task}} | |
| - name: Upload test report | |
| uses: actions/upload-artifact@v6 | |
| if: always() | |
| with: | |
| name: test-report-maven-${{matrix.gradle-task}} | |
| retention-days: 14 | |
| path: | | |
| **/build | |
| **/target/surefire-reports | |
| auto-merge-dependabot: | |
| name: 🤖 Auto merge dependabot PR | |
| timeout-minutes: 10 | |
| needs: [build-with-gradle, build-with-maven] | |
| 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 |