Update eclipse-temurin Docker tag to v21 #350
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
name: Verify | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Gradle build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v1 | |
- name: Set up JDK 18 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 18 | |
- name: Build with Gradle | |
run: ./gradlew --build-cache build | |
- name: Test with Gradle | |
run: ./gradlew test --info | |
build-docker: | |
runs-on: ubuntu-latest | |
name: Docker build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build as Docker image | |
run: docker build . |