stenyan[.]dev

JAEN

Devin Playbook which bumps the Go version

At our company we use Dependabot for version updates, but it does not support updating the Go runtime versions. I kept using Devin for this but crafting a prompt for this everytime started to become tedious. Instead of writing a prompt everytime, I use Devin Playbook now with the following content. Change repo1 and such with your repository name.

## Overview

Bump the Go version to the latest version.

## Procedure

1. **step 1**: Check https://go.dev/doc/devel/release and find the latest version (the first heading with goX.XX.X is the major version and if exists, the minor versions will be shown under that as Minor revisions heading).
2. **step 2**: For repo1, repo2, repo3 check the go.mod. If the toolchain directive exists, update that to the latest major and minor version. If the toolchain does not exist, update the Go directive to that version.
3. **step 3**: Create a pull request following the PR templates of each repo to update the description. Also add a link to the Go document and quote the changes in that version.

## Advice & Pointers

- Keep the commit log clean by rebasing by the latest default branch.
- If the CI fails because of this, consult the Go documentation for any help to try to fix that.