-
-
Notifications
You must be signed in to change notification settings - Fork 368
Add GitHub Actions CI for 5.x.x and fix curl_close deprecation on PHP 8+ #900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+51
−1
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c792b14
Add GitHub Actions CI for 5.x.x and fix curl_close deprecation on PHP 8+
DannyvdSluijs 02f8d47
Ignore CVE-2026-24765 in composer audit
DannyvdSluijs caa51ee
Fix composer audit ignore: use advisory ID PKSA-z3gr-8qht-p93v
DannyvdSluijs 48b20db
Set audit block-insecure to false to allow phpunit 4.x install
DannyvdSluijs 3340077
Drop lowest-dependencies matrix entry
DannyvdSluijs 4857f66
Clean up unused matrix.dependencies and COMPOSER_UPDATE_FLAGS
DannyvdSluijs 3fc3863
Revert .gitattributes change to keep PR minimal
DannyvdSluijs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: "Continuous Integration" | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - 5.x.x | ||
| pull_request: | ||
| branches: | ||
| - 5.x.x | ||
|
|
||
| jobs: | ||
| tests: | ||
| name: "PHP ${{ matrix.php-version }}" | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| php-version: ['7.1', '7.2', '7.3', '7.4'] | ||
|
|
||
| steps: | ||
| - name: "Checkout" | ||
| uses: "actions/checkout@v4" | ||
|
|
||
| - name: "Install PHP" | ||
| uses: "shivammathur/setup-php@v2" | ||
| with: | ||
| coverage: "none" | ||
| extensions: "intl, zip" | ||
| ini-values: "memory_limit=-1, phar.readonly=0, error_reporting=E_ALL, display_errors=On" | ||
| php-version: "${{ matrix.php-version }}" | ||
| tools: composer | ||
|
|
||
| - name: "Update dependencies" | ||
| run: "composer update --ansi --no-interaction --no-progress --prefer-dist" | ||
|
|
||
| - name: "Validate composer.json" | ||
| run: "composer validate" | ||
|
|
||
| - name: "Run tests" | ||
| run: "composer test" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
ubuntu-latestfor an EOL PHP matrix (7.1–7.4) makes CI brittle becauseubuntu-latestmoves over time and can break old PHP builds unexpectedly. Pin the runner to a specific Ubuntu version known to work with these PHP versions (e.g., ubuntu-22.04/20.04) to keep the backport branch stable.