Skip to content

Commit

Permalink
Merge pull request #200 from AppLinkers/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
yuseogi0218 authored Jan 24, 2024
2 parents ceb3908 + 1aa695b commit 23f4ed6
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/pull-request-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,38 @@ on:
pull_request:
branches: [ main ]
jobs:
sonar:

test:
runs-on: ubuntu-latest

steps:
# github submodule을 사용합니다.
- uses: actions/checkout@v3
with:
token: ${{secrets.ACTION_TOKEN}}
submodules: true
# JDK를 17 버전으로 셋팅합니다.
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
# Cache for Gradle
- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: check
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
# Cache for SonarCloud
- name: SonarCloud packages Caching
uses: actions/cache@v3
Expand Down

0 comments on commit 23f4ed6

Please sign in to comment.