Bump the java group across 1 directory with 2 updates #18
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: SDK CI | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| # Check for lint issues | |
| lint: | |
| name: Test & Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the current branch | |
| uses: actions/checkout@v6 | |
| - name: Set up Maven Central Repository | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| # Execute unit tests. | |
| - name: Run unit tests | |
| run: cd zero-bounce-sdk && mvn test | |
| # Compile the project to check for errors. | |
| - name: Compile project | |
| run: cd zero-bounce-sdk && mvn clean install | |
| generate-pr-description: | |
| name: Generate PR description | |
| runs-on: ubuntu-latest | |
| if: ${{ ! startsWith( github.head_ref, 'dependabot/') }} | |
| steps: | |
| - name: Check out the current branch | |
| uses: actions/checkout@v6 | |
| - uses: octue/[email protected] | |
| id: pr-description | |
| with: | |
| pull_request_url: ${{ github.event.pull_request.url }} | |
| api_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Update pull request body | |
| uses: riskledger/update-pr-description@v2 | |
| with: | |
| body: ${{ steps.pr-description.outputs.pull_request_description }} | |
| token: ${{ secrets.GITHUB_TOKEN }} |