From e755e61937797a736a998dc3201243e7555735a7 Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Thu, 19 Sep 2024 13:41:33 +0200 Subject: [PATCH] Add doc check to GitHub Actions steps --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 00f7d12e..5a74b2dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,3 +77,20 @@ jobs: cache-to: type=gha,mode=max - name: Run mess detector run: docker compose run --rm actions-tester composer test:phpmd + doc-check: + runs-on: ubuntu-latest + name: Documentation check + steps: + - name: Setup Docker buildx + uses: docker/setup-buildx-action@v2 + - uses: actions/checkout@v4 + - name: Build Docker image + id: build-and-push + uses: docker/build-push-action@v4 + with: + context: "{{defaultContext}}" + push: false + cache-from: type=gha + cache-to: type=gha,mode=max + - name: Run doc check + run: docker compose run --rm actions-tester composer test:docs