Introduction to Self-Updating Programs and GitHub Actions
Explore how to build self-updating command-line programs in Go by integrating version checks and automated downloads. Understand the use of GitHub Actions as a CI/CD pipeline to enable your Go programs to update themselves seamlessly. This lesson helps you grasp key concepts and workflows to maintain up-to-date software efficiently.
We'll cover the following...
First, we will discuss the self-update process and then get to know GithubActions, which is a CI/CD pipeline built into Github that we will use to help multi-git become self-updateable.
Overview
Auto-update is more than just a convenience. Some programs perform critical functions and using an out of date version can cause significant damage. At a previous company, we had a CLI program responsible for managing secrets in the AWS parameter store. We discovered the hard way several limitations of AWS parameter store such as values are limited to 4KB and history is limited to one-hundred revisions. When we had to store secrets larger than 4KB, we updated our code to be able to ...