Skip to content

Run scheduled checks: gradle/groovy formatting #4

Run scheduled checks: gradle/groovy formatting

Run scheduled checks: gradle/groovy formatting #4

name: "Run scheduled checks: gradle/groovy formatting"
on:
workflow_dispatch:
schedule:
# 3:13 on Mondays
- cron: '13 4 * * 1'
permissions: {}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
jobs:
test:
name: Check groovy/gradle script formatting compliance
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Configure tools
uses: ./.github/actions/prepare-for-build
- name: Run formatter check
run: >
./gradlew
-Plucene.spotlessGradleScripts=true
spotlessGradleScriptsCheck