MatthewDolan / template-go

A template for Go repositories
MIT License
1 stars 0 forks source link

Add a way to automatically upgrade template configuration #5

Open MatthewDolan opened 2 years ago

MatthewDolan commented 2 years ago

There are a few places in the template where configuration is copied over to the repo (.golangci.yml, Makefile, .github/workflows/*). Once this configuration is copied, it’s going to get out of date if the template is updated.

It would be ideal if there were a way to automatically upgrade repos build off of this template when the template it updated.

Alternatively, maybe it would be better to encode some of this logic into a downloadable CLI tool like and enhanced go command. This requires a bit more thought.