From e1c3dd2d5e34526ae66df6c9139ebe16cc6a50cf Mon Sep 17 00:00:00 2001 From: Matthew Watkins Date: Thu, 27 Aug 2026 12:58:31 +0100 Subject: [PATCH] Fix(build): Bump maven-build-action to v0.4.0 Multi-module (multi-subproject) Maven reactors get structurally wrong coverage from the run_jacoco path: each subproject's report runs before downstream subprojects' tests execute, so cross-module attribution is lost and the badge, summary and coverage outputs under-report. maven-build-action v0.4.0 fixes this inside the action: jacoco-mode defaults to auto, pointing every subproject's agent at one execution-data file and rerunning the report goal after the reactor completes, backing off when the project or caller arranges its own coverage or requests a parallel reactor. This lane already passes run-jacoco, so bumping the pin delivers the aggregation with no input changes. The bump also brings workspace variable expansion in mvn-params, restoring Jenkins-era behaviour for callers passing workspace-anchored paths. The security-workflows scan lanes adopted v0.4.0 in their v0.3.1 release; this aligns the standard build lane with them. Fixes #28 Co-authored-by: Claude Signed-off-by: Matthew Watkins --- .github/workflows/maven-build-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-build-test.yaml b/.github/workflows/maven-build-test.yaml index d8a8c6d..be19b83 100644 --- a/.github/workflows/maven-build-test.yaml +++ b/.github/workflows/maven-build-test.yaml @@ -395,7 +395,7 @@ jobs: - name: 'Build with Maven' id: build # yamllint disable-line rule:line-length - uses: lfreleng-actions/maven-build-action@6a687d420895015a60abd139e37ba1ae7e78e8e8 # v0.3.1 + uses: lfreleng-actions/maven-build-action@4fe48909bcb696f286d83b197d84fbb64b4e020e # v0.4.0 with: path_prefix: ${{ inputs.path_prefix }} # Caller override wins, else the detected version, else 21.