mirror of
https://github.com/Dannecron/coverage-merger.git
synced 2025-12-25 15:52:34 +03:00
ci: add lint action
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user