From 1f6ac1ebc5bf4ff8756766f0ec9575ce6acd7dc6 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 7 Jul 2022 10:54:54 +0200 Subject: [PATCH] Perform spell checking --- .github/workflows/documentation.yml | 31 +++++++---------------------- 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 287796fb4..298642bfe 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -16,38 +16,21 @@ jobs: runs-on: [ubuntu-latest] steps: - - name: Setup PHP, with composer and extensions - uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php - with: - php-version: '8.0' - tools: composer:v2 - extensions: intl, mbstring, xml - - - name: Setup problem matchers for PHP - run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" - - uses: actions/checkout@v3 - - name: Get composer cache directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache composer dependencies - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: ${{ runner.os }}-composer- - - - name: Install Composer dependencies - run: composer install --no-progress --prefer-dist --optimize-autoloader - - name: Lint markdown files uses: nosborn/github-action-markdown-cli@v3.1.0 with: files: . ignore_path: .markdownlintignore + - name: Perform spell check + uses: codespell-project/actions-codespell@master + with: + path: '**/*.md' + check_filenames: true + ignore_words_list: tekst + build: name: Build documentation needs: quality -- GitLab