

create & publish artifact in the GitHub Packages repository,.run static code analysis ( SonarCloud),.test it (both unit & integrations tests),.My basic git branch is master and whenever I push/commit new code there I want to trigger a workflow that will: In this project, I’ve defined two GitHub Actions workflows that are triggered depending on which branch's new code was pushed.

(when I write these words the app is still under construction, but the core is already there) It provides a couple of REST endpoints to manipulate data saved in the database. It’s called Notice Board and is a simple REST CRUD application made with Spring Boot. Moving forward I want to show you how I’ve set up GitHub Actions in one of my Java projects. Plus as GitHub is the biggest host of the open-source code with the largest community, it‘s very likely that it will be used in many projects available on this platform.

Unlike the others, GitHub Actions is now part of the GitHub ecosystem and it’s an integral part of it. Today there are plenty of them available, like Jenkins, GitLab CI, Travis CI, CircleCI or TeamCity. It’s worth to know, GitHub Actions are not the first tool of this kind. So all of us can focus on that is the most important and brings the most value - coding. Since the end of 2019 GitHub has released its CI/CD ( Continuous Integration and Continuous Delivery) tool that helps developers automate their work in building, testing and deploying their application.
