Commit Graph

69 Commits

Author SHA1 Message Date
Shivam Mathur
4dc94c27cf
Refactor utils.fetch to a module and mock it with nock
Add redirect support in utils.fetch
2022-02-06 10:53:40 +05:30
Shivam Mathur
71d07ee7f4
Update symfony-cli support to use new symfony-cli/symfony-cli 2022-01-29 11:27:44 +05:30
Shivam Mathur
cad2a1bda3
Rename os_version => os 2022-01-29 05:29:58 +05:30
Shivam Mathur
63c7766312
Remove unnecessary writing of scripts to RUNNER_TOOL_CACHE 2022-01-29 04:40:49 +05:30
Shivam Mathur
1db2ec93f3
Fix tools.getLatestVersion 2022-01-27 08:44:53 +05:30
Shivam Mathur
f24f33ea89
Scope binary tools installed using composer 2021-12-31 00:11:33 +05:30
Shivam Mathur
0f13e29d1f
Use composer phars from cache with PHP version 2021-12-22 20:07:07 +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
4d3cfaa653
Fixed support for php-cs-fixer
Added fetch_latest to tools.json. When fetch_latest is true for a tool
it will fetch the release.atom for the tool and parse that to get the
latest release.

Bumped lib version to ES2020 in tsconfig.json for string.matchAll.
2021-08-20 09:14:39 +05:30
Shivam Mathur
7bd9f10bef
Add no_tools_cache flag 2021-08-18 09:53:25 +05:30
jrfnl
f31d416e6e Update Phive configuration
Phive has released version `0.15.0` which ups the minimum supported PHP version to PHP 7.3.

This adds the switch statement for Phive to take this into account.

Ref: https://github.com/phar-io/phive/releases
2021-08-01 19:52:48 +02:00
Shivam Mathur
09e08a3554
More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
Shivam Mathur
7eec3d790d
Fix repeated version_prefix 2021-07-10 02:10:33 +05:30
Shivam Mathur
14fa980966
Improve error handling in utils.fetch and its uses
Minor fixes in tests

Revert to ES2019
2021-07-09 11:26:38 +05:30
Shivam Mathur
e1a9afe11c
Add support to specify major or major.minor versions for tools with GitHub repository 2021-07-07 22:40:03 +05:30
Shivam Mathur
6449431df2
Move tools config to tools.json
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30
Shivam Mathur
60ff774608
Fix replacing v prefix in tool version 2021-07-07 22:40:01 +05:30
Shivam Mathur
55ab748aaa
Update dependencies
Update to Jest 27

Set sourceMap to true in tsconfig.json
2021-06-04 21:34:31 +05:30
Shivam Mathur
8cfcbb030f
Add support for tools: none 2021-04-21 17:11:24 +05:30
Shivam Mathur
23393c46d7
Add support for composer packages using tools input 2021-04-19 17:05:59 +05:30
Shivam Mathur
739ccacdc4
Refactor tools
Improve support for tool aliases
2021-02-20 16:11:20 +05:30
Shivam Mathur
cff0bdeaa3
Use composer for codeception setup 2021-02-19 13:49:58 +05:30
Shivam Mathur
ea8be20255
Improve support for phive 2020-12-14 15:43:12 +05:30
Shivam Mathur
09222f42ae
Skip prestissimo and composer-prefetcher unless composer:v1 is specified 2020-11-21 11:11:33 +05:30
Shivam Mathur
925ede2589
Refactor composer setup 2020-10-30 19:25:39 +05:30
Michele Locati
808e74aed5
Adjust filtered composer version 2020-10-30 12:02:36 +01:00
Michele Locati
f51d00d350
Allow installing a specific Composer version 2020-10-30 11:15:26 +01:00
Shivam Mathur
c8111b053c
Fix blackfire-player to v1.9.3 for PHP 5.5 to PHP 7.0 2020-10-30 11:40:25 +05:30
Shivam Mathur
87e62cbb7f
Fix composer version for prestissimo & composer-prefetcher to v1 2020-10-25 00:55:01 +05:30
Shivam Mathur
b77ec78d01
Add support for fail-fast env variable 2020-10-18 19:41:56 +05:30
Shivam Mathur
b8f0b066dc
Add support for behat and phpspec 2020-10-15 14:16:20 +05:30
Shivam Mathur
c4606c9269
Log versions in tools setup 2020-10-15 14:16:15 +05:30
Shivam Mathur
f641885a8d
Add support for phing 2020-09-06 19:29:35 +05:30
Shivam Mathur
a31f8b1a2b
Remove unnecessary parameter version from addArchive 2020-09-06 19:29:34 +05:30
Shivam Mathur
3543ed1ef8
Switch to fixed getcomposer.org links 2020-08-18 09:58:23 +05:30
Shivam Mathur
188598ef9d
Dry custom tools and extension code 2020-08-10 14:08:27 +05:30
Shivam Mathur
91bd6b26c2
Use cached composer builds 2020-08-04 21:15:25 +05:30
Shivam Mathur
5405f14867
Move blackfire setup to separate scripts 2020-08-03 11:47:11 +05:30
Shivam Mathur
cb25b9c13a
Add support for protoc and grpc_php_plugin 2020-08-03 11:47:10 +05:30
Shivam Mathur
d35633ec7a
Merge branch 'develop' into feature/composer-unused 2020-07-19 17:32:00 +05:30
Andreas Möller
57ecdba082
Fix: Keep list of tools sorted 2020-07-19 13:32:31 +02:00
Andreas Möller
db03758c66
Enhancement: Add composer-unused/composer-unused as tool 2020-07-19 13:13:08 +02:00
Andreas Möller
c12fad850b
Enhancement: Add maglnet/ComposerRequireChecker as tool 2020-07-19 01:26:18 +05:30
Andreas Möller
47b8d68850
Enhancement: Add ergebnis/composer-normalize as tool 2020-07-18 21:44:21 +05:30
Shivam Mathur
5753a00ef5
Improve composer setup 2020-07-08 05:20:52 +05:30
Shivam Mathur
6158538131
Add support for phplint 2020-06-24 04:30:50 +05:30
Shivam Mathur
739e40fb5e
Add support for updating composer 2020-06-05 12:25:02 +05:30
Shivam Mathur
b1776b79c8
Add support for phan/phan 2020-05-21 11:28:38 +05:30
Shivam Mathur
d10d1e249b
Bump version to 2.2.0 2020-05-13 07:12:42 +05:30