Skip to content

Format by Corvus400 #1171

Format by Corvus400

Format by Corvus400 #1171

Workflow file for this run

name: Format
on:
pull_request:
run-name: "Format by ${{ github.actor }}"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
permissions: {}
jobs:
format:
permissions:
contents: read
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: ./.github/actions/setup-java
- name: Check spotless
run: ./gradlew spotlessCheck --stacktrace
- name: Check lint
run: ./gradlew lintDebug --stacktrace
- name: Upload lint reports
if: always()
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: lint-reports
path: build/lint-reports