Skip to content

feat: 동행글 관련 API를 구현한다. #21

feat: 동행글 관련 API를 구현한다.

feat: 동행글 관련 API를 구현한다. #21

Workflow file for this run

name: local CI
on:
pull_request:
branches: [ "main" ]
jobs:
build-test:
runs-on: ubuntu-latest
permissions:
contents: read
env:
SPRING_PROFILES_ACTIVE: local
steps:
- uses: actions/checkout@v4
- name: Make application.properties
run: |
cd ./src/main/resources
touch ./application-local.yml
- name: Set up MySQL
uses: mirromutth/[email protected]
with:
host port: 3306
container port: 3306
character set server: 'utf8mb4'
collation server: 'utf8mb4_general_ci'
mysql version: '9.0'
mysql database: 'accompany'
mysql root password: 1234
- name: Wait for MySQL
run: |
while ! mysqladmin ping --host=127.0.0.1 -uroot -p1234 --silent; do
sleep 1
done
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build and Test
run: ./gradlew build -s