feat: 스터디 수료 및 철회 API 구현 #1097
Workflow file for this run
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: Check Style and Test to Develop | |
on: | |
pull_request: | |
branches: ["develop"] | |
permissions: | |
pull-requests: write | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: JDK 설치 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: gradlew 권한 부여 | |
run: chmod +x ./gradlew | |
# Redis 컨테이너 실행 | |
- name: Start containers | |
run: docker compose -f docker-compose-test.yaml up -d | |
- name: Setup Gradle | |
id: gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} # feature 브랜치는 캐시를 읽기 전용으로 설정 | |
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }} | |
add-job-summary-as-pr-comment: always | |
build-scan-publish: true | |
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | |
build-scan-terms-of-use-agree: "yes" | |
- name: Check with Gradle | |
run: ./gradlew check --configuration-cache |