Hi, I'm thinking of starting a multiplatform project for backend & frontend using Kotlin, both using a common module. But how do I manage to run CI/CD only when one of the projects change? I thought creating two separate projects and using mavenLocal to connect both, but this would make the development a nightmare. Any ideas?
m
mbonnin
12/21/2021, 10:27 PM
Is the concern that CI will cost too much if you're running tests for everything all the time?
mbonnin
12/21/2021, 10:28 PM
If that's the case, you could either:
• cache results of previous builds so that tests are not re-run if nothing changes
• or use only if in Github Actions to only run parts of your tests that need changing
v
viniciuslrangel
12/21/2021, 10:33 PM
Oh, that's great. I was searching for something like that, but for the gradle. I don't why I didn't read the GA docs. Thanks!
g
gildor
12/27/2021, 9:31 AM
I honestly think that proper gradle cache is better, more universal and stable solution