Bump DavidAnson/markdownlint-cli2-action from 23 to 24 #70
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| on: pull_request | |
| name: Linting, analysis, tests | |
| permissions: | |
| contents: read | |
| jobs: | |
| php-versions: | |
| name: Lookup PHP versions | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.versions.outputs.matrix }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: antfroger/php-version-action@v1 | |
| id: versions | |
| review_codestyle: | |
| name: PHP | |
| runs-on: ubuntu-24.04 | |
| needs: php-versions | |
| strategy: | |
| matrix: | |
| php-version: ${{ fromJSON(needs.php-versions.outputs.matrix) }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup PHP, with composer and extensions | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| coverage: none | |
| tools: composer:v2 | |
| - name: Validate composer.json | |
| run: | | |
| composer validate --no-check-all --no-check-publish | |
| - name: Install composer dependencies | |
| run: | | |
| composer install --no-interaction --no-progress | |
| # Add vendor/bin to PATH for subsequent steps, see | |
| # https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path | |
| composer config bin-dir --absolute >> "${GITHUB_PATH}" | |
| - name: phpunit | |
| run: | | |
| phpunit | |
| - name: phpstan | |
| run: | | |
| phpstan | |
| - name: phpcs | |
| run: | | |
| phpcs | |
| markdown_lint: | |
| name: Markdown | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: markdownlint | |
| uses: DavidAnson/markdownlint-cli2-action@v24 |