diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bad3c35..2f86ddf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,4 +25,16 @@ jobs: run: composer install - name: Run tests run: composer run pest-coverage -# lint: + lint: + runs-on: ubuntu-22.04 + strategy: + matrix: + php_version: ['80100', '80200'] + container: dannecron/php-for-dev:8.2 + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Init composer.lock and install dependencies + run: composer update + - name: Run phpcs + run: vendor/bin/phpcs --standard=phpcs.xml --report=full --config-set php_version ${{ matrix.php_version }} ./src ./tests