rueidis
rueidis copied to clipboard
Refine the .circleci/config.yml by using dynamic config
Currently, we have these hard coded and repeated sections in the .circleci/config.yml for testing each go.mod.
https://github.com/redis/rueidis/blob/16d5f135a57f14205bab0850108c86e10913f56c/.circleci/config.yml#L14-L35
It will be better if we can detect every go.mod files automatically and generate .circleci/config.yml dynamically through the
https://circleci.com/docs/dynamic-config/.
Here is an example of how we can detect every go.mod files:
https://github.com/redis/rueidis/blob/16d5f135a57f14205bab0850108c86e10913f56c/.github/workflows/tag-subpkg.yml#L26-L28
Thank you @moonorange!