build!: java 21 and update dependencies (major) #103
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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths-ignore: | |
| - 'README.md' | |
| env: | |
| JAVA_VERSION: '17' | |
| jobs: | |
| test: | |
| if: ${{ (github.event.pull_request.draft == false) && !contains(github.event.pull_request.labels.*.name, 'publish-snapshot') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - name: Setup Gradle | |
| uses: gradle/gradle-build-action@v3 # Use this action here while it's still use in publishing workflows. | |
| - name: DDI Lifecycle lib tests | |
| run: | | |
| ./gradlew :model:test |