Lets write a Github actions workflow
- which on pull request to dev branch
- will build a java project
- runs the tests
- Github gives us reusable actions
- actions/checkout:
- Refer Here for docs
- prompt:
i want to checkout using actions/checkout in github actions workflow, give me different options one by one. stop after giving each option and let me understand and then proceed
- actions/checkout:
- Refer Here for our sample workflow.
What organizations want
- Early faiures
- on every pr ensure
- builds are passing
- tests are passing
- code quality checks are done
- security scanning is done.
