devops-basics
devops-basics copied to clipboard
Add[#240]:CI add workflow for groovy checker
Closes: #240
Be noted that 240 is the issue ID
What is the purpose of the change
The following high-level changes were made to the groovy-check.yml file:
A new job named groovy-check was added. The groovy-check job uses the actions/setup-java@v3 action to set up Java 11. The groovy-check job runs the gradle groovy command to compile and check the Groovy code for errors. A new step was added to the groovy-check job to fail the workflow if the Groovy checker finds any errors.
Benefits of the change The benefits of this change include:
Improved code quality: The Groovy checker will help to ensure that the Groovy code is always error-free. Reduced risk of regressions: The Groovy checker will help to identify and fix errors before they are deployed to production. Increased confidence in the codebase: The Groovy checker will help to increase confidence in the codebase by ensuring that the Groovy code is always error-free.