fix: Click history 계산 부분 수정 #153
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: CI-click-service | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- click-service/** | |
- .github/** | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: ./click-service | |
steps: | |
- name: Check out Repository | |
uses: actions/checkout@v3 | |
- name: Cache Gradle | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ github.job}}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-gradle-${{ github.job}} | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: Grant execute permission gradlew | |
run: chmod +x ../gradlew | |
- name: Test with Gradle | |
run: ../gradlew test | |