Skip to content

Merge pull request #55 from Julio-Pupim/#22875-refactor-perfil #122

Merge pull request #55 from Julio-Pupim/#22875-refactor-perfil

Merge pull request #55 from Julio-Pupim/#22875-refactor-perfil #122

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
jobs:
verify:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: root
POSTGRES_DB: servicemaker
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run Build and Analysis
run: cd backend/ && mvn verify