Add markdown workflow to trigger a spotless check

This commit is contained in:
Wolf-Martell Montwé 2023-10-06 11:17:58 +02:00
parent 288e0dde99
commit 7a7ed19d04
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72

26
.github/workflows/markdown.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Markdown CI
on:
pull_request:
paths:
- '**.md'
- '.github/workflows/markdown.yml'
jobs:
markdown_quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
- name: Quality - Spotless Markdown Check
run: ./gradlew spotlessMarkdownCheck