1
0
Fork 0
Commit Graph

62 Commits (78c0282b34c60bc650ac722113025ead58ccf1a3)

Author SHA1 Message Date
naveen 14476ec2a6
chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-22 08:18:22 +02:00
jrfnl dca2d49d0c
GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update to the workflow(s).

These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).

Refs:
* https://github.com/actions/checkout/releases

P.S.: looks like there are some more actions in use which have had new major releases. As those actually _do_ contain changed functionality, I've excluded the others from this PR.
2022-03-15 12:49:38 +01:00
Jordi Boggiano aeb206bcfb
Fix CI for LTS 2021-12-09 12:02:20 +01:00
Jordi Boggiano ef728bf8f7
Avoid removing the platform config on every build 2021-12-08 22:03:22 +01:00
Jordi Boggiano f758da32c9
Merge branch '2.1' into main 2021-11-30 10:39:44 +01:00
Jordi Boggiano 965b12cdec
Allow alpha and above for latest deps build to catch dependency problems earlier next time 2021-11-30 10:32:23 +01:00
Yanick Witschi 34183f49f9
Implemented PoolOptimizer 2021-11-11 16:13:24 +01:00
Fabien Villepinte 1dd2bc6f02
Validate composer.lock strictly (#10160) 2021-10-15 15:11:38 +02:00
Jordi Boggiano 135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies 2021-10-15 13:37:02 +02:00
Jordi Boggiano 5818b4aa51
Attempt fixing php8.1 build 2021-10-15 12:55:41 +02:00
Juliette 5f48f87501
PHPUnit: move environment variable into PHPUnit config file (#10062)
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-08-19 13:21:04 +02:00
jrfnl 617d63f40a GH Actions: set error reporting to E_ALL
Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`.

For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown.
2021-06-21 21:03:38 +02:00
Jordi Boggiano d6d4069b30
Try to fix windows CI again 2021-02-23 20:15:00 +01:00
Jordi Boggiano 06ef815ec8
Quote caret to avoid issues with cmd.exe 2021-02-23 20:10:25 +01:00
Jordi Boggiano e1570798cd
Bump CI versions 2021-02-23 20:00:29 +01:00
Jordi Boggiano cfb3b85454
Update semver to latest 2020-11-12 12:59:48 +01:00
Graham Campbell ceeb743d0b Use latest phpunit 2020-10-13 14:14:45 +01:00
Jordi Boggiano cb1c35ab52
Fix typo 2020-10-13 11:42:31 +02:00
Jordi Boggiano fcbeedbb3a
Merge branch '1.10' 2020-10-13 11:22:34 +02:00
Jordi Boggiano 4a8dbcd145
Fix set-env to use the new gh actions files 2020-10-13 11:17:42 +02:00
Jordi Boggiano 711d4792ce
Attempt rolling back a couple changes 2020-09-11 11:23:24 +02:00
Graham Campbell 144d8e5359
Removed guff 2020-09-11 11:23:24 +02:00
Graham Campbell 1a2fea3509
Fix actions on PHP 8.0 2020-09-11 11:23:24 +02:00
Jordi Boggiano 1593b67230
Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Graham Campbell f5c2bdb783 Use latest cache action 2020-08-18 10:23:09 +01:00
Markus Staab fdff3aeaba
emit github action formatted error messages (#9120) 2020-08-13 16:37:32 +02:00
Jordi Boggiano 8dae1dd45a
Merge branch '1.10' 2020-07-16 13:05:17 +02:00
Jordi Boggiano eec2f8d423
Remove highest/lowest builds for 1.10 maintenance branch 2020-07-16 12:37:54 +02:00
Ayesh Karunaratne d906ff12c9
PHPStan fixes: `autoload_files`, and `ignoreErrors` (#8974)
* PHPStan: Remove autoload_files directive as it is not necessary anymore

* PHPStan: Add error exclusions for sapi_windows_set_ctrl_handler function

* PHPStan: Add error exclusions for ZipArchive::LIBZIP_VERSION

* PHPStan: Require phpstan ^0.12.26

* Ensure zip ext is available on gh actions

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2020-06-16 10:05:44 +02:00
Jordi Boggiano 81c6fe987b
Remove empty env var 2020-06-03 10:26:56 +02:00
Graham Campbell 7a97741aae
Use --ignore-platform-req=php (#8936) 2020-06-02 13:03:58 +02:00
Jordi Boggiano 0a0291e913
Remove deprecated flag 2020-05-28 10:31:46 +02:00
Jordi Boggiano ce52c408f0
Disable platform checks for php8 2020-05-28 10:15:38 +02:00
Jordi Boggiano 38557b2460
Reorder build steps 2020-05-28 09:49:41 +02:00
Jordi Boggiano dce9b129bb
Use PUB 5.1+ for php8 builds 2020-05-28 09:37:22 +02:00
Jordi Boggiano 5ab0ecda04
Try disabling platform-check for PHPUnitBridge on php8 2020-05-27 22:12:12 +02:00
Jordi Boggiano e8acd60245
Fix sudo command 2020-05-26 21:34:56 +02:00
Jordi Boggiano 59f9633244
Again.. 2020-05-26 20:26:58 +02:00
Jordi Boggiano 42d760fb51
Make the Composer self-update succeed by using sudo 2020-05-26 20:24:48 +02:00
Jordi Boggiano 628730ba34
Run builds with composer snapshots 2020-05-26 20:16:52 +02:00
Jordi Boggiano 4e1f8cf89d
Build tweaks 2020-05-20 16:20:54 +02:00
Jordi Boggiano 106289e5dc
Fix lowest 8 build to use ignore platform reqs 2020-05-13 08:56:37 +02:00
Cees-Jan Kiewiet b5f8f750c2
Test PHP 8.0 with lowest dependencies (#8878) 2020-05-09 15:51:57 +02:00
Jordi Boggiano ec3f18ee92
Remove workaround as it is not working anyway 2020-05-06 13:47:03 +02:00
Jordi Boggiano 88ced66f2c
Fix issue with PHPUnitBridge autoload 2020-05-06 13:38:05 +02:00
Jordi Boggiano cb2fca5d13
Try to workaround react/promise php8 issue 2020-05-06 13:34:06 +02:00
Jordi Boggiano a8cd2941e5
Fix phar compilation test 2020-05-06 13:32:13 +02:00
Jordi Boggiano 4b1e386fff
Make sure php8 runs tests, and that 7.3 runs complete test suite 2020-05-06 13:23:38 +02:00
Jordi Boggiano b7dd5b0680
PHP8 again 2020-05-06 11:38:48 +02:00
Jordi Boggiano 9c0f7d4bce
Try fixing php8 build 2020-05-06 11:25:57 +02:00