name: checks on: push: branches: [ main ] pull_request: workflow_dispatch: merge_group: jobs: spotless: runs-on: [besu,Linux,self-hosted,X64] if: ${{ github.actor != 'dependabot[bot]' }} steps: - name: Checkout Repo uses: actions/checkout@v3 - name: Set up Java uses: actions/setup-java@v2 with: distribution: adopt java-version: 17 cache: gradle - name: spotless run: ./gradlew --no-daemon --parallel clean spotlessCheck javadoc_17: runs-on: [besu,Linux,self-hosted,X64] if: ${{ github.actor != 'dependabot[bot]' }} steps: - name: Checkout Repo uses: actions/checkout@v3 - name: Set up Java 17 uses: actions/setup-java@v2 with: distribution: adopt java-version: 17 cache: gradle - name: javadoc (JDK 17) run: ./gradlew --no-daemon clean javadoc