Skip to content

chore(deps): update dependency org.assertj:assertj-core to v3.27.2 #348

chore(deps): update dependency org.assertj:assertj-core to v3.27.2

chore(deps): update dependency org.assertj:assertj-core to v3.27.2 #348

name: post-service-spring
on:
push:
paths:
- "post-service-spring/**"
branches:
- master
pull_request:
paths:
- "post-service-spring/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Start up databases via Docker Compose
run: |
docker compose up -d postgres
docker ps -a
- name: Build post-service-spring
run: mvn clean install --file post-service-spring/pom.xml