Skip to content

test: 리쿠르팅 테스트 상수 이름 수정 #672

test: 리쿠르팅 테스트 상수 이름 수정

test: 리쿠르팅 테스트 상수 이름 수정 #672

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