Skip to content

Merge pull request #57 from taco-official/KL-156/댓글-casecade-적용-및-서브카… #145

Merge pull request #57 from taco-official/KL-156/댓글-casecade-적용-및-서브카…

Merge pull request #57 from taco-official/KL-156/댓글-casecade-적용-및-서브카… #145

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.8
build:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Create .env file
run: |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS_CONTEXT" > .env
env:
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.8
- name: Run build
run: make build
- name: Run test code
run: make test
- name: Run docker
run: make up