Skip to content

refactor: 테스트에서만 사용하는 메서드 제거 #1030

refactor: 테스트에서만 사용하는 메서드 제거

refactor: 테스트에서만 사용하는 메서드 제거 #1030

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