Skip to content

Bump actions/setup-java from 5 to 5.6.0 in the all-minor-and-patch gr… #1657

Bump actions/setup-java from 5 to 5.6.0 in the all-minor-and-patch gr…

Bump actions/setup-java from 5 to 5.6.0 in the all-minor-and-patch gr… #1657

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
# Opt in to Node.js 24 for JavaScript-based actions
# (silences the Node.js 20 deprecation warning until all actions ship Node 24 builds).
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 45
permissions:
contents: read
checks: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up JDK 21
uses: actions/setup-java@v5.6.0
with:
distribution: temurin
java-version: '21'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: '24'
- name: Run JavaScript parser tests
run: node --test
working-directory: webapp/src/test/js
- name: Verify Docker is available (for Testcontainers)
run: docker version
- name: Clean build
run: ./gradlew clean build --no-daemon --stacktrace
- name: Publish test report
if: always()
uses: mikepenz/action-junit-report@v6
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
check_name: 'Test results'
detailed_summary: true
include_passed: true
flaky_summary: true
require_tests: false
annotate_notice: false
updateComment: true
job_summary: true
- name: Upload test reports
if: always()
uses: actions/upload-artifact@v7
with:
name: test-reports
path: '**/build/reports/tests/**'
if-no-files-found: ignore