[Refactor][Backend] Uplift Go to 1.18 (or 1.19)
What and why to refactor
1.19 was released a few days ago, and 1.18 now has been around for several revisions, so it should be stable. It brings many new features, in particular generics which is something we can definitely use in our codebase. We should evaluate both, and at the very least uplift to the latest 1.18 revision.
Describe the solution you'd like
How to refactor? The Dockerfiles need to be modified + the go.mod version. The gitextractor libgit2 needs to be manually built in the Dockerfile because it has to be pinned to v1.3.0. The newer alpine base images will be packaged with higher versions if we try to use the defaults, so we can't rely them as we have been.
Related issues
n/a
Additional context
Current Go version of Devlake is 1.17.
PR: https://github.com/apache/incubator-devlake/pull/2694
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.