lua-resty-http
lua-resty-http copied to clipboard
fix: ci workflow
This pull request updates the CI workflow configuration in .github/workflows/test.yml to enhance compatibility, improve dependency management, and ensure the use of the latest tools. Key changes include upgrading GitHub Actions versions, adding new dependencies, and explicitly installing the latest version of LuaRocks.
Updates to GitHub Actions versions:
- Upgraded
actions/checkoutfromv2tov4to use the latest features and improvements. [1] [2] - Upgraded
actions/cachefromv2tov3for improved caching capabilities.
Dependency management improvements:
- Added
build-baseto the list of dependencies installed viaapk, ensuring all required build tools are available. - Added explicit installation of LuaRocks
3.12.2, including a cleanup step to remove any pre-existing versions. This ensures consistency in the LuaRocks version used. [1] [2]
Additional enhancements:
- Introduced a cache-clearing step for LuaRocks to avoid potential issues with outdated or conflicting cached files.