Commit Graph

1350 Commits

Author SHA1 Message Date
Amin Yahyaabadi de1bfe912f chore: fix the linting issues 2023-10-19 10:15:20 -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 10b6a5e666 docs: mention Node 12 or higher requirement [skip ci] 2023-09-11 14:02:43 -07:00
Amin Yahyaabadi e2b11c45c1 fix: specify NODE_MAJOR as 20 [skip ci] 2023-09-11 13:56:44 -07:00
Amin Yahyaabadi 8f9bbe3ffa
Merge pull request #205 from aminya/docs [skip ci] 2023-09-11 13:52:50 -07:00
Amin Yahyaabadi 20bb9d646a docs: use npm in setup-cpp for GitLab [skip ci] 2023-09-11 13:52:27 -07:00
Amin Yahyaabadi 9833f067a0 docs: add docerk file for ubuntu 20.04 2023-09-11 13:50:40 -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 bb4056425a
Merge pull request #203 from aminya/chown [skip ci]
feat: use grantUserWriteAccess from admina and await it
2023-09-11 11:33:14 -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 0cf6799b89
Merge pull request #202 from aminya/clang-format-version [skip ci] 2023-09-11 09:46:05 -07:00
Amin Yahyaabadi 17286fce04 fix: specify the major version for clang-format 2023-09-11 09:09:40 -07:00
Amin Yahyaabadi 15f7626551 chore: v0.35.4 [skip test] 2023-09-11 01:21:58 -07:00
Amin Yahyaabadi edd2c831ed fix: remove pip caching from actions_python 2023-09-11 01:21:43 -07:00
Amin Yahyaabadi d3a4b94794 fix: choose clang-format before other patches 2023-09-11 00:28:17 -07:00
Amin Yahyaabadi 9e5af3bc58
Merge pull request #201 from aminya/clang-format [skip ci] 2023-09-11 00:16:55 -07:00
Amin Yahyaabadi 734bc14554 feat: support only installing clang-format on Ubuntu 2023-09-10 23:58:16 -07:00
Amin Yahyaabadi 4ca8d58635
Merge pull request #199 from aminya/setup-python-bundle [skip ci] 2023-09-07 23:55:33 -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 771f77f24f
Merge pull request #198 from aminya/fixes [skip ci] 2023-09-07 13:58:58 -07:00
Amin Yahyaabadi 99191e7285 fix: async grantUserWriteAccess 2023-09-07 13:47:30 -07:00
Amin Yahyaabadi 5126444593 fix: optimize the build with terser-config-atomic 2023-09-07 13:46:37 -07:00
Amin Yahyaabadi ff2b1155f8 fix: fix memoization for promises 2023-09-07 13:46:36 -07:00
Amin Yahyaabadi afcae25e9d
Merge pull request #196 from aminya/venv [skip ci] 2023-09-07 13:07:52 -07:00
Amin Yahyaabadi 47a297a43e fix: use pip index versions to check the existence of a package 2023-09-07 11:27:34 -07:00
Amin Yahyaabadi af4a6f813e fix: check for pip existence outside the try/catch loop 2023-09-07 11:04:26 -07:00
Amin Yahyaabadi 3fa4b5925a fix: use the system package manager instead of pip for standard modules 2023-09-06 21:38:08 -07:00
Amin Yahyaabadi 678aa3361f fix: use an info level message for reboot requirements for choco 2023-09-06 21:29:38 -07:00
Amin Yahyaabadi 6af571471a fix: log the pip fallback error 2023-09-06 21:29:20 -07:00
Amin Yahyaabadi ddbec096fd fix: fix venv installation warning 2023-09-06 21:18:43 -07:00
Amin Yahyaabadi 1f91d9621c chore: v0.35.2 [skip test] 2023-09-05 12:32:01 -07:00
Amin Yahyaabadi a18ed2e34d
Merge pull request #194 from aminya/update [skip ci] 2023-09-05 12:29:49 -07:00
Amin Yahyaabadi 8d969d8dbd test: remove nala after testing it 2023-09-05 12:14:09 -07:00
Amin Yahyaabadi 14a1b4d654 test: run the tests serially 2023-09-05 01:11:18 -07:00
Amin Yahyaabadi aa96482204 test: mark the skipped tests in jest 2023-09-04 19:27:23 -07:00
Amin Yahyaabadi b10559687a test: fix the gcovr version tests 2023-09-04 19:25:56 -07:00
Amin Yahyaabadi 9303e93d38 fix: update cmake, gcovr, kcov, meson, task, doxygen, gcc 2023-09-03 17:42:40 -07:00
Amin Yahyaabadi 2d1ee7f0a2 ci: fix placing the built executables [skip test] 2023-09-01 15:37:56 -07:00
Amin Yahyaabadi b66c2c4dfa ci: fix placing the built executables [skip test] 2023-09-01 15:17:57 -07:00
Amin Yahyaabadi 50d2184102 ci: fix the release artifact placement [skip test] 2023-09-01 15:04:09 -07:00
Amin Yahyaabadi ebe8a86b02 ci: run the release when the test is skipped [skip test] 2023-09-01 14:48:28 -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 3ef62e765f
Merge pull request #192 from aminya/windows [skip ci] 2023-09-01 11:38:35 -07:00
Amin Yahyaabadi 62674fbcdd tests: skip some msvc installation tests based on the Windows version 2023-09-01 11:23:25 -07:00