Commit Graph

1305 Commits

Author SHA1 Message Date
Shivam Mathur
57db6baebb
Fix restore-keys in cache example in README with dependency range 2022-01-22 23:41:53 +05:30
Shivam Mathur
c38f1acc38
Fix potential exponential backtracking in regex in utils.parseExtensionSource 2022-01-22 02:25:58 +05:30
Shivam Mathur
9ca9ab33ef
Update docs workflow 2022-01-20 22:03:33 +05:30
Shivam Mathur
fdbb31f707
Update OS support section in README 2022-01-20 21:57:37 +05:30
Shivam Mathur
14a9f0b4ae
Add CodeQL workflow
Add npm audit to the node workflow

Remove stepsecurity action from workflows
2022-01-20 21:45:07 +05:30
Shivam Mathur
2ee6797b63
Optimize Linux and macOS setup 2022-01-18 10:16:58 +05:30
Shivam Mathur
2b729b1130
Refactor setting environment variables 2022-01-18 04:41:51 +05:30
Shivam Mathur
0374a8ae84
Add support for gnupg from shivammathur/homebrew-extensions 2022-01-17 22:07:36 +05:30
Shivam Mathur
7f951c9333
Improve extension map 2022-01-17 16:13:16 +05:30
Shivam Mathur
449da348c0
Fix enabling disabled extensions with dependencies
Improve enabling extensions with no dependencies
2022-01-17 08:58:30 +05:30
Shivam Mathur
51476af47d
Set HOMEBREW_NO_ENV_HINTS in macOS 2022-01-16 14:09:49 +05:30
Shivam Mathur
9a70be75c2
Reduce php calls on Linux and macOS 2022-01-16 14:09:43 +05:30
Shivam Mathur
282305f4d7
Fix to not delete pecl.ini when disabling extensions 2022-01-16 09:37:27 +05:30
Shivam Mathur
c2a765ed5b
Do not disable phar on macOS and Linux 2022-01-16 09:24:30 +05:30
Shivam Mathur
9ea5899759
Refactor add_extension 2022-01-13 06:33:07 +05:30
Shivam Mathur
62d47dd238
Fix enabling xml extension for PECL 2022-01-13 05:22:02 +05:30
Shivam Mathur
e480353a3d
Process extensions before tools 2022-01-13 04:29:05 +05:30
Shivam Mathur
3a4acaaed8
Default to self-hosted unless GitHub hosted runner is detected
Refactor read_env in unix.sh
2022-01-12 21:15:11 +05:30
Shivam Mathur
f7f679181d
Fix adding sudo to self-hosted runners 2022-01-12 20:14:12 +05:30
Shivam Mathur
f3010adf3e
Improve tools setup
Log full semver of tools installed with composer

Refactor adding paths to PATH
2022-01-11 06:04:19 +05:30
Shivam Mathur
b7cdb2373c
Fix cp in add_tools.sh 2022-01-09 13:44:50 +05:30
Shivam Mathur
22ebe0d733
Use php-config to get semver 2022-01-09 13:44:50 +05:30
Shivam Mathur
cb614c45fa
Update default PHP packages' list on self-hosted Linux 2022-01-09 13:44:49 +05:30
Shivam Mathur
e6e79e1717
Refactor PHP packages to a config 2022-01-09 13:44:49 +05:30
Shivam Mathur
45a631dbaf
Fix update_lists in ppa.sh 2022-01-09 13:44:48 +05:30
Shivam Mathur
1fd26e45c8
Refactor INI directives to configs 2022-01-09 13:44:40 +05:30
Shivam Mathur
de4fdb85b9
Rename common.sh to unix.sh 2022-01-05 15:20:40 +05:30
Shivam Mathur
2fd8046c9d
Refactor extension functions to add_extensions scripts 2022-01-05 15:20:40 +05:30
Shivam Mathur
d189609ea9
Refactor tools functions to add_tools scripts 2022-01-05 15:20:39 +05:30
Shivam Mathur
3681a25ab6
Fix to not break existing tools if they fail to setup 2022-01-05 15:20:39 +05:30
Shivam Mathur
092944b039
Fix Install-PSPackage fallback 2022-01-05 15:20:38 +05:30
Shivam Mathur
9e30788903
Fail fast on composer setup failure 2022-01-05 15:20:38 +05:30
jrfnl
bca2d0b1b0
Example code: remove --no-interaction from Composer commands
All Composer commands used in CI should use `--no-interaction` to prevent them hanging in case interaction is expected. However, as setupPHP sets the `COMPOSER_NO_INTERACTION` flag (as of this version), this is not needed when using setupPHP.

This removes redundant `--no-interaction` arguments from the example code.

Also see: https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution
2022-01-05 15:20:37 +05:30
Shivam Mathur
d78b8a6d49
Set COMPOSER_NO_INTERACTION=1
Use composer.env file for configuring composer

Add a note about composer configuration to the README
2022-01-05 15:20:37 +05:30
Shivam Mathur
da0e854737
Fix phalcon setup on Ubuntu 2022-01-05 15:18:04 +05:30
Shivam Mathur
f24f33ea89
Scope binary tools installed using composer 2021-12-31 00:11:33 +05:30
Shivam Mathur
7789b4e03e
Switch to phar releases for phpspec 2021-12-29 20:17:24 +05:30
Shivam Mathur
75988cd9be
Update sponsors section in README 2021-12-26 06:55:07 +05:30
Shivam Mathur
65341e4a6d
Fix parsing composer version when snapshot is stable 2021-12-22 22:34:35 +05:30
Shivam Mathur
0f13e29d1f
Use composer phars from cache with PHP version 2021-12-22 20:07:07 +05:30
Shivam Mathur
5cd765a20d
Add support for blackfire extension on PHP 8.1 2021-12-20 19:50:31 +05:30
Shivam Mathur
deb31af403
Fix http support on 8.1
Fallback to source/pecl if http extension package is missing
2021-12-20 19:35:45 +05:30
Shivam Mathur
a6b35b119b
Fix oci8 setup on Windows 2021-12-20 18:29:46 +05:30
Shivam Mathur
7dadf1bf21
Improve coverage section in README 2021-12-19 17:09:41 +05:30
Shivam Mathur
cca8ad3588
Fix node-release workflow to add lib to the packages 2021-12-17 18:34:16 +05:30
Shivam Mathur
7117491f1a
Update and refactor example workflows 2021-12-15 16:49:10 +05:30
Shivam Mathur
aa1efabe45
Change command to start mysql from sysVinit to systemd in examples 2021-12-15 13:26:33 +05:30
Shivam Mathur
dab0e73adf
Refactor addPhive in tools.ts 2021-12-13 08:11:59 +05:30
Shivam Mathur
15b20027cf
Use GitHub releases for phive's latest version 2021-12-13 07:47:57 +05:30
Shivam Mathur
1b4cc0b6fa
Revert to GitHub Releases as primary script source 2021-12-08 20:34:44 +05:30