This repository was archived by the owner on Jan 24, 2026. It is now read-only.
feat: add Mill build system and Google Java Format #2
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: Code Quality | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| format-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - uses: jodersky/setup-mill@master | |
| with: | |
| mill-version: 0.12.11 | |
| - name: Check Java formatting | |
| run: mill checkJavaFormat | |
| # the server process is kept alive across steps, | |
| # so separate invocations of mill remain extremely fast! | |
| - name: Compile | |
| run: mill compile | |
| - name: Test | |
| run: mill test |