Bump symfony/http-client from 5.1.6 to 5.4.47 #86
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: Code Check | |
on: [push] | |
jobs: | |
static_analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Check code style | |
run: make fix-cs | |
- name: Static code analysis with PHPStan | |
run: make phpstan | |
- name: Static code analysis with Psalm | |
run: make psalm | |
- name: Check for insecure libs | |
run: vendor/bin/security-checker security:check | |
- name: Lint Twig templates | |
run: bin/console lint:twig templates | |
- name: Lint Yaml files | |
run: bin/console lint:yaml config | |
- name: Lint container | |
run: bin/console lint:container | |
- name: Lint translations | |
run: bin/console lint:xliff translations | |
- name: Lint PHP files | |
run: vendor/bin/parallel-lint src | |
- name: Check for var_dump()s | |
run: vendor/bin/var-dump-check src --doctrine --symfony | |
unit_test: | |
needs: static_analysis | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:8.0 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Execute PHPUnit tests | |
run: | | |
sudo service mysql start | |
composer install --prefer-dist --no-progress --no-suggest | |
bin/console doctrine:database:create | |
bin/console doctrine:schema:create | |
make phpunit | |
env: | |
APP_ENV: test | |
DATABASE_URL: mysql://root:[email protected]:3306/doko_app |