Skip to content

refactor: Click History의 기준을 하루 전으로 설정한다. #152

refactor: Click History의 기준을 하루 전으로 설정한다.

refactor: Click History의 기준을 하루 전으로 설정한다. #152

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