알람 시간 차이 조회 삭제 #159
This file contains hidden or 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
| # .github/workflows/ci.yml | |
| name: Spring CI (Build & Test) | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. 현재 리포지토리 코드 다운로드 | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # 2. Java 21 환경 설치 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: gradle | |
| # 3. gradlew 실행 권한 부여 | |
| - name: Grant execute permission for Gradle | |
| run: chmod +x ./LifeMaster-BE/gradlew | |
| # 4. 빌드 및 테스트 실행 | |
| - name: Build and Test | |
| run: | | |
| cd LifeMaster-BE | |
| ./gradlew clean build --no-daemon -x test |