Amin Yahyaabadi
5958a00ce6
perf: add dynamically loaded cache-dependencies module
...
This reduces the main bundle size by ⚠️ 1.1 MB minified! This bundle is loaded only when caching is enabled.
The reason for this huge reduction is that caching dependencies uses the `@actions/cache` package, which is an extremely large package with big dependencies.
`setup-python` is used in `setup-cpp` as a library. This optimization reduces the bundle size for that package as well.
2023-09-11 01:28:08 -07:00
Dmitry Shibanov
65d7f2d534
Add range validation for toml files ( #726 )
2023-09-07 15:45:09 +02:00
Dario Curreri
0d5da6a89a
Read python version from pyproject.toml ( fix #542 ) ( #669 )
2023-06-28 22:02:44 +02:00
Jongwoo Han
206e984b94
refactor: Use early return pattern to avoid nested conditions ( #566 )
...
* refactor: Use early return pattern
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
* fix: Replace throw with warn
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2022-12-19 14:00:46 +01:00
Shubham Tiwari
05fb98de9a
Cache on ghes ( #363 )
...
* initial changes
* updated version
* format check
* refactored code
* updated test cases
* Update src/utils.ts
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
* Update utils.ts
* Update utils.test.ts
* review comments
* dist update
* Review comment
* update version
* updated version
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-03-31 15:11:27 -04:00
Dmitry Shibanov
8c5ea631b2
Adding support for more PyPy versions and installing them on-flight ( #168 )
...
* add support to install pypy
* resolved comments, update readme, add e2e tests.
* resolve throw error
* Add pypy unit tests to cover code
* add tests
* Update test-pypy.yml
* Update test-python.yml
* Update test-python.yml
* Update README.md
* fixing tests
* change order
Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
* add pypy tests and fix issue with pypy-3-nightly
Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
2020-12-17 16:03:54 +01:00