mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 18:25:37 +00:00
ci: add symfony.yml workflow
This commit is contained in:
parent
b7899cc8a5
commit
38ebd5c971
32
.github/workflows/symfony.yml
vendored
Normal file
32
.github/workflows/symfony.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Symfony
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
symfony-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up PHP
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: '8.3'
|
||||||
|
extensions: mbstring, xml, intl, curl, iconv, pdo_pgsql, sodium, zip
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
|
||||||
|
|
||||||
|
- name: Run PHP-CS-Fixer
|
||||||
|
run: vendor/bin/php-cs-fixer fix --dry-run --diff
|
||||||
|
|
||||||
|
- name: Run PHPStan
|
||||||
|
run: vendor/bin/phpstan analyse
|
||||||
Loading…
x
Reference in New Issue
Block a user