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