Skip to content

Update the project to use JDK 21 #5

Update the project to use JDK 21

Update the project to use JDK 21 #5

Workflow file for this run

name: Main CI
on: [ push ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
spotless:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Run Spotless
run: ./gradlew spotlessCheck
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Android problem matchers
uses: jonasb/android-problem-matchers-action@v1
- name: Build with Gradle
run: ./gradlew build