Merge pull request #14 from sitegeist/13-typo3-13-support #53
This file contains 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
name: tests | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Source code linting | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v3 | |
- | |
name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
extensions: intl, mbstring, pdo_sqlite | |
- | |
name: Validate composer.json | |
run: composer validate | |
- | |
name: Cache composer dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.composer/cache | |
key: composer | |
- | |
name: Install composer dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- | |
name: PHP linting | |
run: composer lint:php | |
- | |
name: Editorconfig linting | |
run: composer lint:editorconfig |