GitHub Actions
Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow. - github.com/en/actions
This repo features the most simple action to start with, check it out. You can see the output of this very first action here!
Use
GitHub Actions have uncountable use cases. In our lecture we will use them for some basic cases:
- Check a Pull Request for vulnerabilities
- Execute Unit Tests on Pull Requests
- Build and push a docker image
- Execute one or the other integration test
- Build diagrams or these docs
These bullets all belong to the technique Continuous Integration.
Obviously, since one can develop his own actions, this list is endless. You also find GitHub Actions in our guiding thread in the Test
area.
info
GitHub Actions is only added to the Test
phase for simplicity and because in this lecture we mostly use it there. GitHub Actions (or rather CI) in fact and in practice is central and all-present in DevOps.
Install / Get started
Check out their Quick Start or our super basic action from the lecture.
Tasks
You get to know Actions in the tasks bites/github-actions and github-actions.
Alternative
There is even more like Atlassian Bamboo, Jenkins, TeamCity etc.