Skip to content

Commit

Permalink
Merge pull request #97 from 2rabs/rt/add-backend-ci
Browse files Browse the repository at this point in the history
💚 Backend の CI を追加
  • Loading branch information
tatsutakein authored Nov 30, 2023
2 parents 80eac58 + d84b376 commit 27679da
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 27679da

Please sign in to comment.