[FEAT/#99] 장소 상세 페이지 더미 데이터 구현 #231
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: Spoony pr checker | |
on: | |
pull_request: | |
branches: [ develop, main ] | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
build: | |
name: PR Checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Gradle cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: set up JDK 18 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 18 | |
distribution: 'temurin' | |
- name: Change gradlew permissions | |
run: chmod +x ./gradlew | |
- name: Touch local properties | |
run: touch local.properties | |
- name: Access Local Properties | |
env: | |
DEV_BASE_URL: ${{ secrets.DEV_BASE_URL }} | |
run: | | |
echo dev.base.url=\"$DEV_BASE_URL\" >> local.properties | |
- name: Lint Check | |
run: ./gradlew ktlintCheck -PcompileSdkVersion=35 | |
- name: Build with Gradle | |
run: ./gradlew build -PcompileSdkVersion=35 |