[release/3.6] 修复 CurseForge 源无法搜索到内容的问题 (#5733) #5556
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 Style | |
| on: | |
| push: | |
| paths: | |
| - '**.java' | |
| pull_request: | |
| paths: | |
| - '**.java' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '11' | |
| java-package: 'jdk+fx' | |
| - name: Check style main | |
| run: ./gradlew checkstyleMain --no-daemon | |
| - name: Check style test | |
| run: ./gradlew checkstyleTest --no-daemon |