检测到系统 zlib 实现为 zlib-ng 时跳过 Forge/NeoForge 安装时的哈希检测 #5297
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@v6 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| 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 |