Skip to content

CI: Linting

CI: Linting #31

Workflow file for this run

name: "CI: Linting"
on:
pull_request:
branches: [main]
push:
branches: [main]
schedule:
- cron: '0 0 * * *'
jobs:
spotless:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Java
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- name: Run Spotless
run: |
cd skaha
./gradlew clean spotlessCheck