From 5f7bb878e56a81a16f41c8ae2142eaa87da4aafc Mon Sep 17 00:00:00 2001 From: SonataCI Date: Tue, 23 Jan 2024 16:13:30 +0000 Subject: [PATCH] DevKit updates --- .github/workflows/documentation.yaml | 4 ++-- .github/workflows/lint.yaml | 12 ++++++------ .github/workflows/qa.yaml | 14 +++++++------- .github/workflows/symfony-lint.yaml | 16 ++++++++-------- .github/workflows/test.yaml | 17 ++++++----------- Makefile | 2 +- 6 files changed, 30 insertions(+), 35 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index b7c609a17..3b1aacace 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 uses: actions/setup-python@v4 @@ -45,7 +45,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run DOCtor-RST uses: docker://oskarstark/doctor-rst diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8cd61e447..ab6975507 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -24,12 +24,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 extensions: mongodb @@ -49,12 +49,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2, composer-normalize:2 env: @@ -70,7 +70,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install yamllint run: sudo apt-get install yamllint @@ -85,7 +85,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required dependencies run: sudo apt-get update && sudo apt-get install libxml2-utils diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index a50093731..e8480dc57 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -24,12 +24,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 extensions: mongodb @@ -49,12 +49,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 extensions: mongodb @@ -65,7 +65,7 @@ jobs: dependency-versions: highest - name: Psalm - run: vendor/bin/psalm --no-progress --show-info=false --stats --output-format=github --threads=$(nproc) --shepherd --php-version=8.2 + run: vendor/bin/psalm --no-progress --show-info=false --stats --output-format=github --threads=$(nproc) --shepherd --php-version=8.3 rector: name: Rector @@ -74,12 +74,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 extensions: mongodb diff --git a/.github/workflows/symfony-lint.yaml b/.github/workflows/symfony-lint.yaml index db67be74b..72f9e3739 100644 --- a/.github/workflows/symfony-lint.yaml +++ b/.github/workflows/symfony-lint.yaml @@ -24,12 +24,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 @@ -48,12 +48,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 @@ -72,12 +72,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 @@ -96,12 +96,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' coverage: none tools: composer:v2 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3afc3253d..0b403ed55 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -39,6 +39,7 @@ jobs: - '8.0' - '8.1' - '8.2' + - '8.3' dependencies: [highest] allowed-to-fail: [false] symfony-require: [''] @@ -48,17 +49,17 @@ jobs: dependencies: lowest allowed-to-fail: false variant: normal - - php-version: '8.2' + - php-version: '8.3' dependencies: highest allowed-to-fail: false symfony-require: 5.4.* variant: symfony/symfony:"5.4.*" - - php-version: '8.2' + - php-version: '8.3' dependencies: highest allowed-to-fail: false symfony-require: 6.3.* variant: symfony/symfony:"6.3.*" - - php-version: '8.2' + - php-version: '8.3' dependencies: highest allowed-to-fail: false symfony-require: 6.4.* @@ -66,25 +67,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} coverage: pcov - tools: composer:v2 + tools: composer:v2, flex extensions: mongodb - name: Add PHPUnit matcher run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - - name: Globally install symfony/flex - if: matrix.symfony-require != '' - run: | - composer global config --no-plugins allow-plugins.symfony/flex true - composer global require --no-progress --no-scripts --no-plugins symfony/flex - - name: Install variant if: matrix.variant != 'normal' && !startsWith(matrix.variant, 'symfony/symfony') run: composer require ${{ matrix.variant }} --no-update diff --git a/Makefile b/Makefile index 420682c4d..a5e077dd1 100644 --- a/Makefile +++ b/Makefile @@ -117,7 +117,7 @@ phpstan: .PHONY: phpstan psalm: - vendor/bin/psalm --php-version=8.2 + vendor/bin/psalm --php-version=8.3 .PHONY: psalm rector: