Skip to content

feat: CI/CD를 구축한다. #5

feat: CI/CD를 구축한다.

feat: CI/CD를 구축한다. #5

name: CI-transfer-service
on:
pull_request:
branches: [ main ]
paths:
- transfer-service/**
- .github/**
jobs:
ci:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./transfer-service
steps:
- name: Check out Repository
uses: actions/checkout@v3
- 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