Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,27 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: sonar-build
path: '**/target/'
path: |
**/target/classes/**
**/target/test-classes/**
**/target/site/jacoco/**
**/target/surefire-reports/**
retention-days: 1
if-no-files-found: error
- name: Upload PR metadata
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: pr-meta
path: .pr-meta/
retention-days: 1
if-no-files-found: error
include-hidden-files: true

generate-docs:
runs-on: ubuntu-latest
needs: verify
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v6
with:
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/sonar-pr-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: read
actions: read

jobs:
sonar:
Expand All @@ -22,13 +23,6 @@ jobs:
path: .pr-meta
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: sonar-build
path: .
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Read PR metadata
id: pr-meta
run: |
Expand All @@ -41,6 +35,13 @@ jobs:
with:
ref: ${{ steps.pr-meta.outputs.head_sha }}
fetch-depth: 0
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: sonar-build
path: .
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK
uses: actions/setup-java@v5
with:
Expand Down
Loading