From 7a7ed19d040232da6c6daba63eb7bf2b78200eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montw=C3=A9?= Date: Fri, 6 Oct 2023 11:17:58 +0200 Subject: [PATCH] Add markdown workflow to trigger a spotless check --- .github/workflows/markdown.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/markdown.yml diff --git a/.github/workflows/markdown.yml b/.github/workflows/markdown.yml new file mode 100644 index 000000000..b39c0171f --- /dev/null +++ b/.github/workflows/markdown.yml @@ -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