Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Update actions/setup-java action to v4 #286

Update actions/setup-java action to v4

Update actions/setup-java action to v4 #286

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
assemble:
name: Assemble
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 11
cache: "gradle"
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Assemble project
run: ./gradlew assemble
style:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 11
cache: "gradle"
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Check formatting
run: ./gradlew spotlessCheck