chore: ci test #1
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: build-test | |
on: | |
push: | |
branches: | |
- chore/project-setup | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Cache Gradle dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches/modules-2/files-2.1 | |
~/.gradle/wrapper/ | |
key: gradle-cache-${{ runner.os }}-${{ hashFiles('build.gradle', 'settings.gradle', 'gradle-wrapper.properties') }} | |
restore-keys: | | |
gradle-cache-${{ runner.os }}- | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build and Test with Gradle | |
run: ./gradlew build |