Skip to content

Merge pull request #58 from Julio-Pupim/#22988-tela-cronograma #137

Merge pull request #58 from Julio-Pupim/#22988-tela-cronograma

Merge pull request #58 from Julio-Pupim/#22988-tela-cronograma #137

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