DiceDB / dice

DiceDB is a redis-compliant, reactive, scalable, highly-available, unified cache optimized for modern hardware.
https://dicedb.io/
Other
6.83k stars 1.08k forks source link

#1260: Runs CI only when source code has changes. #1265

Closed bhima2001 closed 5 days ago

bhima2001 commented 1 week ago

Added a condition to execute the test suite only incase there is any changes in .go files and also added a cache in linter to store the go setup. This pr closes #1260 .

JyotinderSingh commented 1 week ago

Thanks for this change @bhima2001! Would it be possible for you to run the CI with these changes on your fork? You can then attach the logs here.

This will help us verify that this change is doing what its supposed to.

bhima2001 commented 1 week ago

https://github.com/bhima2001/dice/actions/runs/11812884490/job/32909079862 --> These are the logs when a .go file has some changes

bhima2001 commented 1 week ago

@JyotinderSingh If there are changes in any other file types other that .go then the test_suite job is not getting executed (expected). Please checkout the previous commits made in this branch, I have tested it out.