Commit Graph

1185 Commits

Author SHA1 Message Date
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
Amin Yahyaabadi 7c677b659a
Merge pull request #191 from aminya/llvm-version [skip ci] 2023-09-01 11:00:41 -07:00
Amin Yahyaabadi 86eecc382e fix: default to LLVM 16 on Windows and Linux 2023-09-01 10:02:59 -07:00
Amin Yahyaabadi 2ab6e8f154
Merge pull request #190 from aminya/pipx [skip ci] 2023-09-01 09:58:08 -07:00
Amin Yahyaabadi 20531c3692 fix: install venv for using pipx 2023-09-01 03:46:12 -07:00
Amin Yahyaabadi 42d3ea447e fix: add system package manager fallback for pip packages 2023-09-01 03:44:04 -07:00
Amin Yahyaabadi 0916dc5cfb fix: fix library installation via pip + fix conan 2023-09-01 03:28:05 -07:00
Amin Yahyaabadi 65c4b0f5dc fix: fix checking for pipx existence 2023-09-01 03:10:24 -07:00
Amin Yahyaabadi 512202e7f4 fix: handle upgrade/user flags for pipx 2023-09-01 03:02:09 -07:00
Amin Yahyaabadi 4e60284097 feat: install python packages using pipx to avoid conflicts with system 2023-09-01 02:49:28 -07:00
Amin Yahyaabadi 1f59ba33f1 fix: use user flag when installing packages via pip 2023-09-01 02:36:39 -07:00
Amin Yahyaabadi e0bca0a01d
Merge pull request #189 from aminya/path [skip ci] 2023-09-01 02:03: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 307b9178a3 fix: prevent adding /usr/bin if it is already on the PATH 2023-08-31 22:42:47 -07:00
Amin Yahyaabadi 511e70eef5 test: disable cppcheck test on Windows 2023-08-22 11:45:19 -07:00
Amin Yahyaabadi 95f86c5d8c tests: disable cppcheck on windows 2023-08-21 23:12:00 -07:00