Skip to content

minor #2371 Remove duplicate question mark ? in DSN string (alexander… #1820

minor #2371 Remove duplicate question mark ? in DSN string (alexander…

minor #2371 Remove duplicate question mark ? in DSN string (alexander… #1820

name: ux.symfony.com
on:
push:
paths:
- 'ux.symfony.com/**'
- 'src/*/**'
- '!src/*/doc/**'
- '.github/**'
pull_request:
paths:
- 'ux.symfony.com/**'
- 'src/*/**'
- '!src/*/doc/**'
- '.github/**'
jobs:
cs-php:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ux.symfony.com
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: php-cs-fixer
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
working-directory: ux.symfony.com
- name: php-cs-fixer
run: php-cs-fixer check --diff
cs-twig:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ux.symfony.com
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
working-directory: ux.symfony.com
- name: twig-cs-fixer
run: vendor/bin/twig-cs-fixer lint templates --report=github
tests:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ux.symfony.com
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Install root dependencies
uses: ramsey/composer-install@v3
with:
working-directory: ${{ github.workspace }}
- name: Build root packages
run: php .github/build-packages.php
working-directory: ${{ github.workspace }}
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
working-directory: ux.symfony.com
dependency-versions: 'highest'
- name: Importmap dependencies
run: php bin/console importmap:install
- name: Build Sass assets
run: php bin/console sass:build
- name: Tests
run: vendor/bin/phpunit