From d2ad4b1c57b353b1bc98c088e478ec35dfc809c5 Mon Sep 17 00:00:00 2001 From: Invis1ble Date: Mon, 3 Jun 2024 17:07:36 +0300 Subject: [PATCH 1/2] Add Rector checks to CI. --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc5846f..a6fca85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,18 @@ jobs: - name: Check Code Quality via PHP-CS-Fixer run: docker compose exec -T php bin/php-cs-fixer + - + name: Rector Cache + uses: actions/cache@v4 + with: + path: /tmp/rector + key: ${{ runner.os }}-rector-${{ github.run_id }} + restore-keys: ${{ runner.os }}-rector- + - + run: mkdir -p /tmp/rector + - + name: Rector Dry Run + run: docker compose exec -T php bin/rector - name: Execute tests via PHPUnit run: docker compose exec -T php vendor/bin/phpunit --coverage-clover var/log/coverage-clover.xml From c3bcc911ad515d34058aa76a8a5d143616d8000e Mon Sep 17 00:00:00 2001 From: Invis1ble Date: Mon, 3 Jun 2024 17:09:47 +0300 Subject: [PATCH 2/2] Bump package version. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cf2f5de..cb383bb 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "version": "1.0.2", + "version": "1.0.3", "name": "invis1ble/symfony-serializer-extension", "type": "library", "description": "Additional useful (de)normalizers for symfony/serializer .",