不再使用反射调用 Java 9~11 中引入的 API (#4114) #5443
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 |