diff --git a/.github/workflows/symfony.yml b/.github/workflows/symfony.yml index e89fc422..6e13f726 100644 --- a/.github/workflows/symfony.yml +++ b/.github/workflows/symfony.yml @@ -74,9 +74,6 @@ jobs: - name: Dump Autoload (composer) run: composer dump-autoload --optimize - - name: Install phpunit - run: ./vendor/bin/simple-phpunit install - - name: Create folders run: mkdir build @@ -89,8 +86,16 @@ jobs: - name: Lint container run: ./bin/console lint:container - - name: Check security - run: export PATH="$HOME/.symfony/bin:$PATH" ; symfony check:security + - name: Set up Symfony path + run: export PATH="$HOME/.symfony5/bin:$PATH" + + - name: Check Symfony Security + id: security_check + run: symfony check:security || echo "::warning::Security check failed" + + - name: Continue execution + if: ${{ steps.security_check.outcome == 'success' }} + run: echo "Security check succeeded" - name: Check doctrine mapping run: ./bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction @@ -99,7 +104,7 @@ jobs: run: composer validate - name: Run phpunit - run: ./vendor/bin/simple-phpunit --coverage-clover build/logs/clover.xml + run: ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml - uses: actions/upload-artifact@v2 if: failure() diff --git a/composer.lock b/composer.lock index 4051fc9f..db06021d 100644 --- a/composer.lock +++ b/composer.lock @@ -5432,16 +5432,16 @@ }, { "name": "symfony/flex", - "version": "v1.17.2", + "version": "v1.21.6", "source": { "type": "git", "url": "https://github.com/symfony/flex.git", - "reference": "0170279814f86648c62aede39b100a343ea29962" + "reference": "06b58a5e5b4c6528fb12e0fac5fea0db3f1e7ae8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/flex/zipball/0170279814f86648c62aede39b100a343ea29962", - "reference": "0170279814f86648c62aede39b100a343ea29962", + "url": "https://api.github.com/repos/symfony/flex/zipball/06b58a5e5b4c6528fb12e0fac5fea0db3f1e7ae8", + "reference": "06b58a5e5b4c6528fb12e0fac5fea0db3f1e7ae8", "shasum": "" }, "require": { @@ -5450,16 +5450,13 @@ }, "require-dev": { "composer/composer": "^1.0.2|^2.0", - "symfony/dotenv": "^4.4|^5.0", - "symfony/filesystem": "^4.4|^5.0", - "symfony/phpunit-bridge": "^4.4.12|^5.0", - "symfony/process": "^3.4|^4.4|^5.0" + "symfony/dotenv": "^4.4|^5.0|^6.0", + "symfony/filesystem": "^4.4|^5.0|^6.0", + "symfony/phpunit-bridge": "^4.4.12|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0" }, "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-main": "1.17-dev" - }, "class": "Symfony\\Flex\\Flex" }, "autoload": { @@ -5480,7 +5477,7 @@ "description": "Composer plugin for Symfony", "support": { "issues": "https://github.com/symfony/flex/issues", - "source": "https://github.com/symfony/flex/tree/v1.17.2" + "source": "https://github.com/symfony/flex/tree/v1.21.6" }, "funding": [ { @@ -5496,7 +5493,7 @@ "type": "tidelift" } ], - "time": "2021-10-21T08:39:19+00:00" + "time": "2024-03-02T08:16:37+00:00" }, { "name": "symfony/form", @@ -10941,5 +10938,5 @@ "ext-rrd": "*" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }