chore: jetbrainsのを参考に改良

This commit is contained in:
usbharu 2024-07-29 23:43:55 +09:00
parent d888a1fbbc
commit ef281f1028
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 13 additions and 4 deletions

View File

@ -9,7 +9,9 @@ on:
- reopened # default
- synchronize # default
- ready_for_review # 必要
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
@ -26,15 +28,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Build
uses: gradle/gradle-build-action@v3.5.0
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: :hideout-core:testClasses
gradle-home-cache-cleanup: true
- name: Build
run: ./gradlew :hideout-core:testClasses
unit-test:
name: Unit Test