Skip to content

Commit

Permalink
💚 Backend の CI を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein committed Nov 30, 2023
1 parent 80eac58 commit d84b376
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Backend CI"

on:
pull_request_target:

# Cancel any current or previous job from the same PR
concurrency:
group: backend-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Unit Tests
run: ./gradlew :app:backend:check

- name: Build
run: ./gradlew :app:backend:buildFatJar

0 comments on commit d84b376

Please sign in to comment.