Skip to content

Ported to 1.19.4

Ported to 1.19.4 #28

Workflow file for this run

name: Basic checks
on: [pull_request]
env:
JAVA_VERSION: 17
DISTRIBUTION: adopt
jobs:
spotless:
name: "Spotless"
runs-on: ubuntu-latest
steps:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: ${{ env.DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
- uses: actions/checkout@v3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Check
run: ./gradlew spotlessCheck
gradle-test:
name: "Gradle Test"
runs-on: ubuntu-latest
steps:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: ${{ env.DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
- uses: actions/checkout@v3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Check
run: ./gradlew test