From 0d751c9e689c171db40da7103ed711625fc23269 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 9 Feb 2025 16:51:10 +0100 Subject: [PATCH 1/3] Drop not necessary archive exclude --- composer.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/composer.json b/composer.json index 778910d0..e1f568f3 100644 --- a/composer.json +++ b/composer.json @@ -44,10 +44,5 @@ "include/barcodes/pdf417.php", "include/barcodes/qrcode.php" ] - }, - "archive": { - "exclude": [ - "/examples" - ] } } From f83a912b6faed5da2b304260f8d306775eb216d6 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 9 Feb 2025 16:56:30 +0100 Subject: [PATCH 2/3] Upgrade upload-artifact "This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/" --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22e2d4f3..6a346aab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -90,7 +90,7 @@ jobs: # For debugging issues - name: Archive test results if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-run-output-${{ matrix.php-version }}-${{ matrix.os }} retention-days: 1 From eea7967986ed5c3496279cc2cd7e0cf26880ded8 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 9 Feb 2025 17:06:30 +0100 Subject: [PATCH 3/3] Also test on PHP 8.4 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6a346aab..b406fd66 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] + php-version: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"] os: [ubuntu-latest] experimental: [false] php-extensions: ["bcmath, curl, imagick, gd"] @@ -31,7 +31,7 @@ jobs: include: #- { php-version: '8.2', experimental: false, os: macos-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'none' } - { php-version: '8.2', experimental: false, os: windows-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'none' } - - { php-version: '8.3', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'pcov' } + - { php-version: '8.4', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'pcov' } - { php-version: 'nightly', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'pcov' } env: PDFINFO_BINARY: ${{ (matrix.os == 'ubuntu-latest') && '/usr/bin/pdfinfo' || ((matrix.os == 'macos-latest') && '/usr/local/bin/pdfinfo' || 'C:\ProgramData\Chocolatey\bin\pdfinfo.exe') }}