Skip to content

Add greeting message to README #10

Add greeting message to README

Add greeting message to README #10

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Cache Maven dependencies
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and test everything
run: |
./mvnw checkstyle:check
./mvnw spotbugs:check
./mvnw clean test
./mvnw clean package -DskipTests
docker compose build app
docker compose up -d
sleep 30
curl -f http://localhost:8080/api/health || exit 1
docker compose down