name: checks on: push: branches: [ main ] pull_request: workflow_dispatch: jobs: spotless: runs-on: [besu-research-ubuntu-16] 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: [besu-research-ubuntu-8] 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