Skip to content

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /frontend in the… #1674

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /frontend in the…

build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /frontend in the… #1674

Workflow file for this run

name: Test-Suite
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
pull-requests: write
jobs:
test-suite:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package -Pcoverage --file pom.xml
- name: Generate JaCoCo badge
id: jacoco
uses: cicirello/jacoco-badge-generator@f33476a5a3fd5a4f77cb5eef2ebe728c1dd5b921 # v2.11.0
with:
badges-directory: badges
generate-summary: true
generate-coverage-endpoint: true
- name: Log coverage percentages to workflow output
run: |
echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
- name: Upload JaCoCo coverage report as a workflow artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: jacoco-report
path: target/site/jacoco/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: target/site/jacoco/jacoco.xml