Commit Graph

266 Commits

Author SHA1 Message Date
Amin Yahyaabadi cc30e9b1d5
fix: ensure existence of the pipx folders 2024-01-24 12:46:28 -08:00
Amin Yahyaabadi 47e4597aa4
test: remove .js extension for typescript files for jest 2024-01-22 02:07:57 -08:00
Amin Yahyaabadi 8b2ab43823
fix: add fs/promises compat for node 12 2024-01-22 01:54:10 -08:00
Amin Yahyaabadi 649bb63b16
fix: update admina to the latest with execa 7 2024-01-22 01:43:45 -08:00
Amin Yahyaabadi 23929dfd4b
chore: update parcel 2024-01-22 01:41:22 -08:00
Amin Yahyaabadi a823e49204
chore: downgrade prettier 2024-01-22 01:41:21 -08:00
Amin Yahyaabadi 4c125e89f7
fix: update dependencies 2024-01-22 01:41:20 -08:00
Amin Yahyaabadi 6e563b8e5f chore: v0.36.1 [skip test] 2023-11-15 11:04:51 -08:00
Amin Yahyaabadi baac8c6db3 chore: v0.36.0 [skip test] 2023-10-22 17:12:39 -07:00
Amin Yahyaabadi a296e2c916 chore: v0.35.7 [skip test] 2023-10-20 11:32:28 -07:00
Amin Yahyaabadi ce47e106b8 fix: support finding BuildTools msvc 2023-10-19 10:12:36 -07:00
Amin Yahyaabadi e85adb2ac6 docs: update the docs for exec-powershell [skip ci] 2023-10-19 09:57:34 -07:00
Amin Yahyaabadi 436e27cecb chore: v0.35.6 [skip test] 2023-09-11 11:48:10 -07:00
Amin Yahyaabadi 6a37ff7253 fix: fix grantUserWriteAccess for cpprc 2023-09-11 11:47:10 -07:00
Amin Yahyaabadi 4f69ae3519 feat: use grantUserWriteAccess from admina and await it 2023-09-11 11:05:16 -07:00
Amin Yahyaabadi 5f4cbc86cd chore: v0.35.5 [skip test] 2023-09-11 09:47:45 -07:00
Amin Yahyaabadi 15f7626551 chore: v0.35.4 [skip test] 2023-09-11 01:21:58 -07:00
Amin Yahyaabadi 96396ce7c5 perf: add dynamically loaded cache-dependencies for actions python
This reduces the main bundle size by ⚠️  1.28 MB minified! This bundle is loaded only when caching is enabled.

`setup-python` is used in [`setup-cpp`](https://github.com/aminya/setup-cpp) as a library. This optimization reduces the bundle size for that package as well. The build system of `setup-python` uses `ncc`, which doesn't immediately benefit from this change, but setup-cpp uses `Parcel`, which shows this huge improvement.

The reason for this huge reduction is that caching the dependencies uses the `@actions/cache` package, which is an extremely large package with big dependencies. The bundle size before this separation shows this:
![Screenshot_20230907_230625](https://github.com/actions/setup-python/assets/16418197/ec1baf34-85c3-459d-b8cf-894899959b2c)
2023-09-07 23:21:19 -07:00
Amin Yahyaabadi ffff3ab313 chore: v0.35.3 [skip test] 2023-09-07 14:15:08 -07:00
Amin Yahyaabadi 5126444593 fix: optimize the build with terser-config-atomic 2023-09-07 13:46:37 -07:00
Amin Yahyaabadi 1f91d9621c chore: v0.35.2 [skip test] 2023-09-05 12:32:01 -07:00
Amin Yahyaabadi 14a1b4d654 test: run the tests serially 2023-09-05 01:11:18 -07:00
Amin Yahyaabadi 5e87b7794a chore: v0.35.1 [skip test] 2023-09-01 11:44:03 -07:00
Amin Yahyaabadi fd3d46ef75 fix: do not bundle node_modules in the package 2023-09-01 11:43:14 -07:00
Amin Yahyaabadi 99ca8d9642 chore: v0.35.0 [skip test] 2023-09-01 11:40:33 -07:00
Amin Yahyaabadi 662daca0bf fix: remove unused dependencies + list bundled ones [skip test] 2023-08-31 23:01:58 -07:00
Amin Yahyaabadi 0dd681ea14 chore: v0.34.0 [skip test] 2023-08-21 22:11:28 -07:00
Amin Yahyaabadi d93dc2b536 feat: add timeout for installation of the tools 2023-08-21 20:11:21 -07:00
Amin Yahyaabadi 7449a7e89e fix: update dependencies 2023-08-01 14:06:23 -07:00
Amin Yahyaabadi 4eb56b89c0 test: run the jest tests in parallel 2023-07-24 15:28:48 -07:00
Amin Yahyaabadi 5c246f1986 ci: separate the lint tests from the tests 2023-07-24 14:28:48 -07:00
Amin Yahyaabadi 4e58b250d7 ci: fix placing the built artifacts 2023-07-24 14:11:16 -07:00
Amin Yahyaabadi 697fc17c87 ci: shared build for all the tests - rewrite the CI workflow 2023-07-24 13:59:56 -07:00
Amin Yahyaabadi 0b79280662 test: use swc as the jest transformer 2023-07-24 13:20:39 -07:00
Amin Yahyaabadi f0d23edbf1 fix: update dependencies 2023-07-24 13:20:13 -07:00
Amin Yahyaabadi 5d4f610be3 chore: v0.33.0 [skip test] 2023-07-24 12:42:23 -07:00
Amin Yahyaabadi 623beb0a25 feat: add Mingw docker images and test them 2023-07-20 02:59:37 -07:00
abeimler 5ea2c0f2ed Merge branch 'feature/cross-mingw' of https://github.com/abeimler/setup-cpp into feature/cross-mingw 2023-07-19 23:40:18 +02:00
Amin Yahyaabadi 3d4b6fce65 chore: v0.32.1 [skip test] 2023-07-17 23:02:37 -07:00
Amin Yahyaabadi b22365e2f1 chore: v0.32.0 [skip test] 2023-07-17 21:34:13 -07:00
Amin Yahyaabadi f829c0abcc Merge branch 'master' into llvm-system 2023-07-17 10:01:15 -07:00
Amin Yahyaabadi 1c504abace chore: v0.31.1 [skip test] 2023-07-17 00:05:58 -07:00
Amin Yahyaabadi 70a091c663 feat: support installing llvm via apt on Ubuntu 2023-07-15 21:46:28 -07:00
Amin Yahyaabadi ac552e8604 chore: v0.31.0 [skip test] 2023-07-15 19:23:12 -07:00
Amin Yahyaabadi cd31ee43de feat: add production docker images and generate tests 2023-07-15 18:09:24 -07:00
Amin Yahyaabadi d2fe82a0d2 fix: fix docker base name 2023-07-15 15:50:55 -07:00
Amin Yahyaabadi b2cf91c9df fix: use node 20 instead of node 18 2023-07-15 15:41:58 -07:00
Amin Yahyaabadi a9ef9e1ef4 fix: use node 12 as the main target 2023-07-15 15:31:34 -07:00
Amin Yahyaabadi f7f2d14ebb Merge branch 'master' into pr/164 2023-07-15 14:33:06 -07:00
Amin Yahyaabadi 9292ace132 chore: v0.30.1 [skip test] 2023-07-06 15:57:48 -07:00