Skip to content

[Penify]: Documentation for commit - e3ed592 #19

[Penify]: Documentation for commit - e3ed592

[Penify]: Documentation for commit - e3ed592 #19

Workflow file for this run

name: Check and Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Spotless check
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- uses: gradle/[email protected]
- name: spotless
run: ./gradlew spotlessCheck
api_check:
name: API check
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- uses: gradle/[email protected]
- name: API check
run: ./gradlew apiCheck
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: set up JDK
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- uses: gradle/[email protected]
- name: Make Gradle executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build