Skip to content

fix: Update restart policy for services and correct nginx image refer… #90

fix: Update restart policy for services and correct nginx image refer…

fix: Update restart policy for services and correct nginx image refer… #90

Workflow file for this run

name: Spring Boot CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: mvn build and test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean install
- name: Run Tests
run: mvn test