mirror of https://github.com/usbharu/Hideout.git
chore: jetbrainsのを参考に改良
This commit is contained in:
parent
d888a1fbbc
commit
ef281f1028
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue