A repository exploring GitHub Actions
- Version 2 -> CI/CD with GitHub Actions v2
- Version 1 -> CI/CD with GitHub Actions
Since August 8th 2019 GitHub Actions includes built-in CI/CD. Version 2 of this repository is executing the same CI/CD workflow as the first version 1, 2, 3 .
This repository contains one version2 workflow to
- test the go code
- benchmark the go code
- builds a docker image & uploads it to dockerhub All that is defined in cicd.yml file.
GitHub actions Playground.
This repository contains one version1 action that
- builds a go binary
- tests the go code
- benchmarks the go code
- builds a docker image
- logs in to docker hub
- pushes the created docker image to dockerhub
- adds a shaking finger to a pull request in case an action fails
All that is mainly defined in main.workflow file.
make build
make test
make benchmark
make run
make build.docker
make clean