rueidis icon indicating copy to clipboard operation
rueidis copied to clipboard

Refine the .circleci/config.yml by using dynamic config

Open rueian opened this issue 1 year ago • 1 comments

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/.

rueian avatar Feb 27 '24 12:02 rueian

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

rueian avatar Feb 27 '24 15:02 rueian

Thank you @moonorange!

rueian avatar Mar 30 '24 14:03 rueian