Upgrade secure analyzers to go 1.24.2

Problem to solve

go-1.24 has been released in Feb-2025, so we should upgrade all our secure analyzers to use this version.

Implementation plan

  1. Upgrade GO_VERSION in the ci-templates project from 1.23 to 1.24

  2. Update the following projects to golang v1.24.2:

  3. Once all the above analyzer projects have been updated, upgrade the following shared packages to golang v1.24.2:

  4. Revert Pin goimports to v0.30.0 (gitlab-org/security-products/ci-templates!428 - merged) • Hua Yan • 17.10 since it was a workaround due to the fact that our analyzers are using go v1.22.3. Once we upgrade to go v1.24.2, we no longer need this workaround.

Edited by Philip Cunningham