Run on JDK 23 #85
This file contains 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
# Continuous Integration | |
name: Build | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
# ================================ | |
# SHALLOW CLONE | |
# ================================ | |
- name: Shallow clone | |
uses: actions/checkout@v4 | |
# ================================ | |
# SET UP JDK | |
# ================================ | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-package: jdk | |
java-version: 23 | |
# ================================ | |
# VALIDATE GRADLE WRAPPER | |
# ================================ | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v3 | |
# ================================ | |
# SET UP GRADLE | |
# ================================ | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
build-scan-publish: true | |
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | |
build-scan-terms-of-use-agree: "yes" | |
cache-read-only: ${{ github.ref_name != github.event.repository.default_branch && github.ref_name != 'develop' }} | |
# ================================ | |
# CHECK | |
# ================================ | |
- name: Check | |
run: ./gradlew check |