Small Docker compose file improvements #43
Workflow file for this run
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 Quality | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
laravel-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [8.2] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: mbstring, zip | |
- name: Install Composer Dependencies | |
run: | | |
composer install --no-interaction --prefer-dist | |
working-directory: ./Website/htdocs/mpmanager | |
- name: Run Code sniffer | |
run: ./vendor/bin/phpcs --standard=PSR12 --tab-width=4 --exclude=Generic.Files.LineLength app/ | |
working-directory: ./Website/htdocs/mpmanager | |
- name: Run PHPStan | |
run: ./vendor/bin/phpstan analyze --error-format=table app/Http app/Services app/Models/ app/Events app/Listeners app/Misc app/modules --memory-limit=2G --level=1 | |
working-directory: ./Website/htdocs/mpmanager |