Updates the pre-commit Docker image to version 0.2.8 to leverage
improvements and fixes in the latest release. This enhances the
quality of the pre-commit hooks used during CI/CD processes.
This commit updates the Docker images for the pre-commit hooks in both the
Node and Go configuration files to their latest versions. This change ensures
that we are using the most recent fixes and improvements provided by the
pre-commit maintainers, enhancing performance and reliability.
Add GOPRIVATE environment variable for private repos and
create a .netrc file in the before_script to enable
authentication with GitLab. These changes ensure that
private repositories can be accessed during the CI
pipeline, improving the build process.
This change introduces GitLab CI configurations for running
pre-commit hooks on both Node and Go projects. It sets up the
pre-commit environment, ensures necessary dependencies are
installed, and runs pre-commit checks on all files to maintain
code quality and consistency. This automation helps to catch
issues early in the development process.