Include a GolangCI-lint config, fix the issues it finds with the current code, and write an action for it to run on PRs and merges to main.