Skip to content

Verify Local Development #1606

Verify Local Development

Verify Local Development #1606

name: Verify Local Development
on:
schedule:
- cron: '0 5 * * *' # Runs everyday at 5 AM
workflow_dispatch:
push:
jobs:
verify-local-development-mode:
runs-on: ubuntu-22.04
name: Verify local development mode
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: maven
- name: Start the local environment and verify the application startup
run: |
docker compose up -d
./mvnw spring-boot:run &
timeout 180 .github/workflows/health-check.sh 8080
- name: Stop local environment
if: always()
run: |
docker compose logs
docker compose down