build(deps): bump software.amazon.awssdk:bom from 2.42.9 to 2.42.19 #493
Workflow file for this run
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: Run Test Build | |
| permissions: | |
| contents: read | |
| packages: write | |
| statuses: write | |
| checks: write | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test-build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| packages: write | |
| statuses: write | |
| checks: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: "17" | |
| distribution: "temurin" | |
| cache: "maven" | |
| gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} | |
| gpg-passphrase: MAVEN_GPG_PASSPHRASE | |
| - name: Build with Maven | |
| run: mvn -B package --file pom.xml | |
| env: | |
| MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | |
| - name: Test Summary | |
| id: test_summary | |
| uses: test-summary/action@v2 | |
| with: | |
| paths: | | |
| target/surefire-reports/TEST-*.xml | |
| target/surefire-reports/**/TEST-*.xml | |
| if: always() | |
| - uses: qltysh/qlty-action/coverage@main | |
| if: github.event_name != 'pull_request' | |
| with: | |
| coverage-token: ${{secrets.QLTY_COVERAGE_TOKEN}} | |
| files: target/site/jacoco/jacoco.xml | |
| # generates coverage-report.md and publishes as checkrun | |
| - name: JaCoCo Code Coverage Report | |
| id: jacoco_reporter | |
| uses: PavanMudigonda/jacoco-reporter@v5.1 | |
| with: | |
| coverage_results_path: target/site/jacoco/jacoco.xml | |
| coverage_report_name: Coverage | |
| coverage_report_title: JaCoCo | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| skip_check_run: false | |
| minimum_coverage: 60 | |
| fail_below_threshold: false | |
| publish_only_summary: false | |
| # Publish Coverage Job Summary | |
| - name: Add Jacoco report to workflow run summary | |
| run: | | |
| echo "| Outcome | Value |" >> $GITHUB_STEP_SUMMARY | |
| echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY | |
| echo "| Code Coverage % | ${{ steps.jacoco_reporter.outputs.coverage_percentage }} |" >> $GITHUB_STEP_SUMMARY | |
| echo "| :heavy_check_mark: Number of Lines Covered | ${{ steps.jacoco_reporter.outputs.covered_lines }} |" >> $GITHUB_STEP_SUMMARY | |
| echo "| :x: Number of Lines Missed | ${{ steps.jacoco_reporter.outputs.missed_lines }} |" >> $GITHUB_STEP_SUMMARY | |
| echo "| Total Number of Lines | ${{ steps.jacoco_reporter.outputs.total_lines }} |" >> $GITHUB_STEP_SUMMARY | |
| - name: Publish package to GitHub Packages | |
| if: github.event_name != 'pull_request' | |
| run: mvn deploy -P github -DskipTests=true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} |