fix(deps): update spring boot to v3.5.7 #13
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: spring-oracle-example CI Build | |
| on: | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - "spring-oracle-example/**" | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| integration-tests: | |
| name: Run Unit & Integration Tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: spring-oracle-example | |
| strategy: | |
| matrix: | |
| distribution: [ 'temurin' ] | |
| java: [ '21' ] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/[email protected] | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: ${{ matrix.distribution }} | |
| cache: 'maven' | |
| - name: Build and analyze | |
| run: ./mvnw clean verify | |
| health-check: | |
| name: Health Check on Services | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - name: Extract service names from docker compose | |
| id: services | |
| run: | | |
| echo "services<<EOF" >> $GITHUB_OUTPUT | |
| docker compose -f ./spring-oracle-example/compose.yaml config --services >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Start containers with Compose Action | |
| uses: hoverkraft-tech/[email protected] | |
| with: | |
| compose-file: './spring-oracle-example/compose.yaml' | |
| services: ${{ steps.services.outputs.services }} | |
| up-flags: '--build' | |
| down-flags: '--volumes' | |
| - name: Wait for containers to initialize | |
| run: sleep 30 | |
| - name: Check container health | |
| run: | | |
| ./.github/scripts/check-container-health.sh "${{ steps.services.outputs.services }}" |