chore: clean codes #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: spring-reactive-session-data-mongo | |
on: | |
push: | |
paths: | |
- "session-data-mongo/**" | |
branches: [ master ] | |
pull_request: | |
paths: | |
- "session-data-mongo/**" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Start up databases via Docker Compose | |
run: | | |
docker compose up -d mongodb | |
sleep 5 | |
docker ps -a | |
- name: Build with Maven | |
run: | | |
cd session-data-mongo | |
mvn -B package --file pom.xml |