lua-resty-http icon indicating copy to clipboard operation
lua-resty-http copied to clipboard

fix: ci workflow

Open chensunny opened this issue 6 months ago • 1 comments

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/checkout from v2 to v4 to use the latest features and improvements. [1] [2]
  • Upgraded actions/cache from v2 to v3 for improved caching capabilities.

Dependency management improvements:

  • Added build-base to the list of dependencies installed via apk, 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.

chensunny avatar Jul 10 '25 11:07 chensunny