Add markdown workflow to trigger a spotless check
This commit is contained in:
parent
288e0dde99
commit
7a7ed19d04
1 changed files with 26 additions and 0 deletions
26
.github/workflows/markdown.yml
vendored
Normal file
26
.github/workflows/markdown.yml
vendored
Normal 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
|
Loading…
Reference in a new issue