From dabea7480e201390c79071bf9982ec5f6b058c04 Mon Sep 17 00:00:00 2001 From: SonataCI Date: Tue, 23 Jan 2024 16:12:11 +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-platforms.yaml | 8 ++++---- .github/workflows/test.yaml | 19 +++++++------------ Makefile | 2 +- 7 files changed, 35 insertions(+), 40 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 27f5ff7a0..0a58c1427 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 e84155a78..3c7814e56 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 @@ -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, composer-normalize:2 env: @@ -69,7 +69,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install yamllint run: sudo apt-get install yamllint @@ -84,7 +84,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 1b172903a..dc8effb82 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 @@ -48,12 +48,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 @@ -63,7 +63,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 @@ -72,12 +72,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 diff --git a/.github/workflows/symfony-lint.yaml b/.github/workflows/symfony-lint.yaml index 8291ee221..2b1b5c82c 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-platforms.yaml b/.github/workflows/test-platforms.yaml index 580bf3068..e37586266 100644 --- a/.github/workflows/test-platforms.yaml +++ b/.github/workflows/test-platforms.yaml @@ -37,7 +37,7 @@ jobs: strategy: matrix: php-version: - - '8.2' + - '8.3' mysql-version: - '5.7' - '8.0' @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 @@ -90,7 +90,7 @@ jobs: strategy: matrix: php-version: - - '8.2' + - '8.3' postgres-version: - '13' - '14' @@ -100,7 +100,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP with extensions uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 789d563b4..409dc84a9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -33,6 +33,7 @@ jobs: - '8.0' - '8.1' - '8.2' + - '8.3' dependencies: [highest] allowed-to-fail: [false] symfony-require: [''] @@ -42,22 +43,22 @@ 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.* variant: symfony/symfony:"6.4.*" - - php-version: '8.2' + - php-version: '8.3' dependencies: highest allowed-to-fail: false symfony-require: 7.0.* @@ -65,24 +66,18 @@ 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 - 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: