Skip to content

Commit

Permalink
Merge pull request #5 from taco-official/KL-55/github-actions-세팅
Browse files Browse the repository at this point in the history
docs(KL-55): add makefile workflow
  • Loading branch information
idealflower-k authored Jul 12, 2024
2 parents 1bcbe74 + 4528cd5 commit f6d154e
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/makefile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
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: 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

0 comments on commit f6d154e

Please sign in to comment.