lacchain-checks #3
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: lacchain-checks | |
on: | |
push: | |
branches: [lacchain-release] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
spotless: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: 17 | |
cache: gradle | |
- name: spotless | |
run: ./gradlew --no-daemon --parallel clean spotlessCheck | |
javadoc_17: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Set up Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: 17 | |
cache: gradle | |
- name: javadoc (JDK 17) | |
run: ./gradlew --no-daemon clean javadoc |