Note: This is part of a series that focuses on different CICD tools. In the upcoming posts, we will talk about other tools like Travis CI and CircleCI.

In this article, we are going to look at how we can use GitHub Actions for our Go project. Of course, it does need to be in Go, and it can be in any languages like Node.js, Python, Java etc. Also, it’s best that you can try it out on your own repository as we go through the following:

  1. What are GitHub Actions?
  2. Setting up the workflow to build, test, send a notification to Slack, and deploy a Docker image to Docker Hub

What are GitHub Actions?

Photo by Markus Winkler on Unsplash

We all have heard of or used GitHub to store our source code and now with GitHub Actions, we are allowed to create a CICD pipeline to automate build, test, and deploy of our software directly in the GitHub repository.

GitHub Actions help you automate your software development workflows in the same place you store code and collaborate on pull requests and issues. You can write individual tasks, called actions, and combine them to create a custom workflow. Workflows are custom automated processes that you can set up in your repository to build, test, package, release, or deploy any code project on GitHub.

To set up a complete pipeline, we can easily find a variety of actions contributed by the GitHub community in GitHub Marketplace.

#github #github-actions #devops #ci-cd-pipeline #software-development

Setting up GitHub Actions for a Go project
1.15 GEEK