Search⌘ K

Making a CI/CD Pipeline for multi-git

Explore how to set up a continuous integration and deployment pipeline for multi-git projects using GitHub Actions. Understand the workflow configuration, build process, dependency management, and unit testing to automate your Go command-line program builds.

We'll cover the following...

CI/CD pipeline for multi-git

Let’s start with a basic pipeline that builds the binary and runs the unit tests. Note that running the end-to-end tests is a little bit challenging in the GitHub Actions environment, so we will leave it out for now.

GitHub Actions workflows are YAML files that are defined in your repo’s .github/workflows directory. I defined two workflows:

(πŸ™)/multi-git/
$ tree .github
.github
└── workflows
    β”œβ”€β”€ on-push.yml
    └── on-tag-push.yml

1 directory, 2
...