Run tests using different Go versions
Background
The CLI project currently supports 1.18+ for building from source. As of this writing, we are supporting 3 minor versions: 1.18.x, 1.19.x and 1.20.x.
This is to ensure that different Go versions doesn't change the behavior of the application.
It is recommended that we test those different versions in GitLab Go guide as well: https://docs.gitlab.com/ee/development/go_guide/go_upgrade.html.
This is to
Proposal
This can be possible by using a matrix on CI: https://docs.gitlab.com/ee/ci/yaml/#parallelmatrix.
Edited by Patrick Bajao