Merge pull request #1408 from finos/renovate/execa-9.x-lockfile #3
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: Build Calm Hub For Unit Test Coverage | |
| on: | |
| pull_request: | |
| branches: | |
| - "main" | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| build: | |
| name: Build Calm Hub | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Checkout PR Branch | |
| - name: Checkout PR Branch | |
| uses: actions/checkout@v4 | |
| # Step 2: Set up JDK | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| # Step 3: Cache Maven Dependencies | |
| - name: Cache Maven Dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-${{ hashFiles('calm-hub/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-m2- | |
| # Step 4: Build and Test | |
| - name: Build and Test | |
| working-directory: calm-hub | |
| run: mvn clean verify |