在 KDE Wayland 环境中使用 dbus 获取 UI 缩放比例 #5291
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 |