Refine the .circleci/config.yml by using dynamic config
rueian opened this issue · comments
Rueian commented
Currently, we have these hard coded and repeated sections in the .circleci/config.yml
for testing each go.mod
.
Lines 14 to 35 in 16d5f13
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 commented
Here is an example of how we can detect every go.mod files:
rueidis/.github/workflows/tag-subpkg.yml
Lines 26 to 28 in 16d5f13
Rueian commented
Thank you @moonorange!