feat:添加游戏规则设置界面 #2107
Workflow file for this run
This file contains hidden or 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
| name: Check Codes | |
| on: | |
| push: | |
| paths: | |
| - '**.java' | |
| - '**.properties' | |
| pull_request: | |
| paths: | |
| - '**.java' | |
| - '**.properties' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| java-package: 'jdk+fx' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-cleanup: never | |
| - name: Check Codes | |
| run: ./gradlew checkstyle checkTranslations --no-daemon --parallel --stacktrace |