Repository navigation
Fix double / int literal ambiguity: prefer the literal's natural type #622
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: Java CI | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'zulu' | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }} | |
| - name: Executable gradlew | |
| run: chmod +x gradlew | |
| - name: Run Tests | |
| run: ./gradlew ScriptingExample:test | |
| #The project does not `build` atm, but we're using the ScriptingExample module to track passing tests | |