cache-extensions 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -13
- package/package.json +21 -18
- package/src/lists/darwin-extensions +0 -34
- package/src/lists/focal-libs +0 -3
- package/src/lists/jammy-libs +1 -1
- package/src/lists/noble-libs +3 -4
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<a href="https://github.com/shivammathur/cache-extensions" title="Cache PHP extensions in GitHub Actions"><img alt="GitHub Actions status" src="https://github.com/shivammathur/cache-extensions/workflows/Node%20test%20workflow/badge.svg"></a>
|
|
5
5
|
<a href="https://codecov.io/gh/shivammathur/cache-extensions" title="Code coverage"><img alt="Codecov Code Coverage" src="https://codecov.io/gh/shivammathur/cache-extensions/branch/master/graph/badge.svg"></a>
|
|
6
6
|
<a href="https://github.com/shivammathur/cache-extensions/blob/master/LICENSE" title="license"><img alt="LICENSE" src="https://img.shields.io/badge/license-MIT-428f7e.svg?logo=open%20source%20initiative&logoColor=white&labelColor=555555"></a>
|
|
7
|
-
<a href="#tada-php-support" title="PHP Versions Supported"><img alt="PHP Versions Supported" src="https://img.shields.io/badge/php-5.3%20to%208.
|
|
7
|
+
<a href="#tada-php-support" title="PHP Versions Supported"><img alt="PHP Versions Supported" src="https://img.shields.io/badge/php-5.3%20to%208.5-777bb3.svg?logo=php&logoColor=white&labelColor=555555"></a>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "GitHub Actions"). This action has to be used along with [shivammathur/setup-php](https://github.com/shivammathur/setup-php "Setup PHP") and [actions/cache](https://github.com/actions/cache "Cache in GitHub Actions") GitHub Actions. It configures the environment required to cache PHP extensions. Refer to [Usage](#memo-usage "How to use this") section for details and example workflow.
|
|
@@ -37,22 +37,25 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
|
|
|
37
37
|
|7.4|`Stable`|`End of life`|
|
|
38
38
|
|8.0|`Stable`|`End of life`|
|
|
39
39
|
|8.1|`Stable`|`Security fixes only`|
|
|
40
|
-
|8.2|`Stable`|`
|
|
40
|
+
|8.2|`Stable`|`Security fixes only`|
|
|
41
41
|
|8.3|`Stable`|`Active`|
|
|
42
|
-
|8.4|`
|
|
42
|
+
|8.4|`Stable`|`Active`|
|
|
43
|
+
|8.5|`Nightly`|`In development`|
|
|
43
44
|
|
|
44
45
|
## :cloud: OS/Platform Support
|
|
45
46
|
|
|
46
|
-
| Virtual environment | YAML workflow label |
|
|
47
|
-
|
|
48
|
-
| Ubuntu 24.04 | `ubuntu-24.04`
|
|
49
|
-
| Ubuntu 22.04 |
|
|
50
|
-
| Ubuntu
|
|
51
|
-
|
|
|
52
|
-
| Windows Server
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
| macOS
|
|
47
|
+
| Virtual environment | Arch | YAML workflow label |
|
|
48
|
+
|---------------------|---------|------------------------------------|
|
|
49
|
+
| Ubuntu 24.04 | x86_64 | `ubuntu-latest` or `ubuntu-24.04` |
|
|
50
|
+
| Ubuntu 22.04 | x86_64 | `ubuntu-22.04` |
|
|
51
|
+
| Ubuntu 24.04 | aarch64 | `ubuntu-24.04-arm` |
|
|
52
|
+
| Ubuntu 22.04 | aarch64 | `ubuntu-22.04-arm` |
|
|
53
|
+
| Windows Server 2025 | x64 | `windows-2025` |
|
|
54
|
+
| Windows Server 2022 | x64 | `windows-latest` or `windows-2022` |
|
|
55
|
+
| Windows Server 2019 | x64 | `windows-2019` |
|
|
56
|
+
| macOS Sequoia 15.x | arm64 | `macos-15` |
|
|
57
|
+
| macOS Sonoma 14.x | arm64 | `macos-latest` or `macos-14` |
|
|
58
|
+
| macOS Ventura 13.x | x86_64 | `macos-13` |
|
|
56
59
|
|
|
57
60
|
**Note**: Support for self-hosted runners for the above operating systems is in beta. If you use this action on a self-hosted runner, please report any issues you find.
|
|
58
61
|
|
|
@@ -149,6 +152,12 @@ If you set up both `TS` and `NTS` PHP versions in your workflow, please add `${{
|
|
|
149
152
|
restore-keys: ${{ steps.extcache.outputs.key }}-${{ env.phpts }}
|
|
150
153
|
```
|
|
151
154
|
|
|
155
|
+
## :bookmark: Versioning
|
|
156
|
+
|
|
157
|
+
- You can use the `v1` tag as `cache-extensions` version. It is a rolling tag and is synced with the latest minor and patch releases. With `v1` you automatically get the bug fixes, security patches, new features and support for latest PHP releases.
|
|
158
|
+
- Semantic release versions can also be used. They are also rolling tags till there is a new release as we update the lists of packages installed on GitHub runners. It is recommended to [use dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot "Setup Dependabot with GitHub Actions") with semantic versioning to keep the actions in your workflows up to date.
|
|
159
|
+
- Commit SHA can also be used, but it is not recommended to update them manually, please set up tooling like `dependabot` to update them with each release of the action.
|
|
160
|
+
|
|
152
161
|
## :scroll: License
|
|
153
162
|
|
|
154
163
|
The code and documentation in this project are under the [MIT License](LICENSE "License for shivammathur/cache-extensions"). This project has multiple [dependencies](https://github.com/shivammathur/cache-extensions/network/dependencies "Dependencies for this PHP Action"). Their licenses can be found in their respective repositories.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cache-extensions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Cache PHP extensions in GitHub Actions",
|
|
6
6
|
"main": "lib/cache.js",
|
|
@@ -35,28 +35,31 @@
|
|
|
35
35
|
"author": "shivammathur",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@actions/cache": "^4.0.
|
|
38
|
+
"@actions/cache": "^4.0.5",
|
|
39
39
|
"@actions/core": "^1.11.1",
|
|
40
40
|
"@actions/exec": "^1.1.1",
|
|
41
|
-
"setup-php": "2.
|
|
41
|
+
"setup-php": "2.35.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@eslint/compat": "^1.2
|
|
45
|
-
"@types/jest": "^
|
|
46
|
-
"@types/node": "^
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
48
|
-
"@typescript-eslint/parser": "^8.
|
|
44
|
+
"@eslint/compat": "^1.3.2",
|
|
45
|
+
"@types/jest": "^30.0.0",
|
|
46
|
+
"@types/node": "^24.3.0",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
|
48
|
+
"@typescript-eslint/parser": "^8.40.0",
|
|
49
49
|
"@vercel/ncc": "^0.38.3",
|
|
50
|
-
"eslint": "^9.
|
|
51
|
-
"eslint-config-prettier": "^
|
|
52
|
-
"eslint-plugin-import": "^2.
|
|
53
|
-
"eslint-plugin-jest": "^
|
|
54
|
-
"eslint-plugin-prettier": "^5.
|
|
55
|
-
"jest": "^
|
|
56
|
-
"jest-circus": "^
|
|
57
|
-
"prettier": "^3.
|
|
58
|
-
"ts-jest": "^29.
|
|
59
|
-
"typescript": "^5.
|
|
50
|
+
"eslint": "^9.33.0",
|
|
51
|
+
"eslint-config-prettier": "^10.1.8",
|
|
52
|
+
"eslint-plugin-import": "^2.32.0",
|
|
53
|
+
"eslint-plugin-jest": "^29.0.1",
|
|
54
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
55
|
+
"jest": "^30.0.5",
|
|
56
|
+
"jest-circus": "^30.0.5",
|
|
57
|
+
"prettier": "^3.6.2",
|
|
58
|
+
"ts-jest": "^29.4.1",
|
|
59
|
+
"typescript": "^5.9.2"
|
|
60
|
+
},
|
|
61
|
+
"overrides": {
|
|
62
|
+
"test-exclude": "^7.0.1"
|
|
60
63
|
},
|
|
61
64
|
"bugs": {
|
|
62
65
|
"url": "https://github.com/shivammathur/cache-extensions/issues"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
amqp
|
|
2
|
-
couchbase
|
|
3
|
-
deps
|
|
4
|
-
event
|
|
5
|
-
expect
|
|
6
|
-
gearman
|
|
7
|
-
gnupg
|
|
8
|
-
grpc
|
|
9
|
-
imagick
|
|
10
|
-
imap
|
|
11
|
-
lua
|
|
12
|
-
mcrypt
|
|
13
|
-
memcache
|
|
14
|
-
memcached
|
|
15
|
-
mongodb
|
|
16
|
-
newrelic
|
|
17
|
-
pdo_sqlsrv
|
|
18
|
-
pecl_http
|
|
19
|
-
phalcon3
|
|
20
|
-
phalcon4
|
|
21
|
-
phalcon5
|
|
22
|
-
psr
|
|
23
|
-
rdkafka
|
|
24
|
-
redis
|
|
25
|
-
snmp
|
|
26
|
-
sqlsrv
|
|
27
|
-
ssh2
|
|
28
|
-
swoole
|
|
29
|
-
uuid
|
|
30
|
-
v8js
|
|
31
|
-
vips
|
|
32
|
-
yaml
|
|
33
|
-
zmq
|
|
34
|
-
zstd
|
package/src/lists/focal-libs
CHANGED
|
@@ -503,7 +503,6 @@ libnginx-mod-mail
|
|
|
503
503
|
libnginx-mod-stream
|
|
504
504
|
libnl-3-200
|
|
505
505
|
libnorm1
|
|
506
|
-
libnotify4
|
|
507
506
|
libnpth0
|
|
508
507
|
libnspr4
|
|
509
508
|
libnss-systemd
|
|
@@ -703,8 +702,6 @@ libwind0-heimdal
|
|
|
703
702
|
libwmf-dev
|
|
704
703
|
libwmf0.2-7
|
|
705
704
|
libwrap0
|
|
706
|
-
libwxbase3.0-0v5
|
|
707
|
-
libwxgtk3.0-gtk3-0v5
|
|
708
705
|
libx11-6
|
|
709
706
|
libx11-data
|
|
710
707
|
libx11-dev
|
package/src/lists/jammy-libs
CHANGED
|
@@ -80,7 +80,6 @@ libcbor0.8
|
|
|
80
80
|
libcc1-0
|
|
81
81
|
libcgi-fast-perl
|
|
82
82
|
libcgi-pm-perl
|
|
83
|
-
libcgroup1
|
|
84
83
|
libclang-common-13-dev
|
|
85
84
|
libclang-common-14-dev
|
|
86
85
|
libclang-common-15-dev
|
|
@@ -676,6 +675,7 @@ libtirpc3
|
|
|
676
675
|
libtk8.6
|
|
677
676
|
libtommath1
|
|
678
677
|
libtool
|
|
678
|
+
libtraceevent1
|
|
679
679
|
libtsan0
|
|
680
680
|
libtsan2
|
|
681
681
|
libtss2-esys-3.0.2-0
|
package/src/lists/noble-libs
CHANGED
|
@@ -104,8 +104,6 @@ libdpkg-perl
|
|
|
104
104
|
libdrm-amdgpu1
|
|
105
105
|
libdrm-common
|
|
106
106
|
libdrm-intel1
|
|
107
|
-
libdrm-nouveau2
|
|
108
|
-
libdrm-radeon1
|
|
109
107
|
libdrm2
|
|
110
108
|
libduktape207
|
|
111
109
|
libdw1t64
|
|
@@ -164,7 +162,6 @@ libgfortran5
|
|
|
164
162
|
libgirepository-1.0-1
|
|
165
163
|
libgl1
|
|
166
164
|
libgl1-mesa-dri
|
|
167
|
-
libglapi-mesa
|
|
168
165
|
libglib2.0-0t64
|
|
169
166
|
libglib2.0-bin
|
|
170
167
|
libglib2.0-data
|
|
@@ -205,6 +202,7 @@ libhwasan0
|
|
|
205
202
|
libibverbs1
|
|
206
203
|
libice6
|
|
207
204
|
libicu-dev
|
|
205
|
+
libicu70
|
|
208
206
|
libicu74
|
|
209
207
|
libidn2-0
|
|
210
208
|
libinih1
|
|
@@ -249,6 +247,7 @@ liblldb-18
|
|
|
249
247
|
libllvm16t64
|
|
250
248
|
libllvm17t64
|
|
251
249
|
libllvm18
|
|
250
|
+
libllvm19
|
|
252
251
|
liblmdb0
|
|
253
252
|
liblocale-gettext-perl
|
|
254
253
|
liblqr-1-0
|
|
@@ -403,6 +402,7 @@ libsnmp40t64
|
|
|
403
402
|
libsodium23
|
|
404
403
|
libsort-naturally-perl
|
|
405
404
|
libsqlite3-0
|
|
405
|
+
libsqlite3-dev
|
|
406
406
|
libss2
|
|
407
407
|
libssh-4
|
|
408
408
|
libssh2-1t64
|
|
@@ -481,7 +481,6 @@ libx11-data
|
|
|
481
481
|
libx11-xcb1
|
|
482
482
|
libxau6
|
|
483
483
|
libxaw7
|
|
484
|
-
libxcb-dri2-0
|
|
485
484
|
libxcb-dri3-0
|
|
486
485
|
libxcb-glx0
|
|
487
486
|
libxcb-present0
|