chore: clean codes #90
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-redis | |
on: | |
push: | |
paths: | |
- "session-data-redis/**" | |
branches: [ master ] | |
pull_request: | |
paths: | |
- "session-data-redis/**" | |
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 redis | |
sleep 5 | |
docker ps -a | |
- name: Build with Maven | |
run: | | |
cd session-data-redis | |
mvn -B package --file pom.xml |