マップ選択実装 (GUIは仮置き) #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Checkとビルド可能かコードを検証 | |
name: Verification | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
verification: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout # チェックアウト | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Setup JDK # JDKセットアップ | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Setup Gradle # Gradleセットアップ | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Check # Check | |
shell: bash | |
run: | | |
chmod +x gradlew | |
chmod -R +X gradle | |
./gradlew check | |
- name: Build # ビルド | |
shell: bash | |
run: | | |
./gradlew build --stacktrace --no-daemon |