Skip to content

Automatically run go mod tidy

Adam Cohen requested to merge add-go-mod-tidy-build-job into master

What does this MR do?

This MR adds a new build job to automatically run go mod tidy and fail if there are differences in the go.mod or go.sum files

What are the relevant issue numbers?

gitlab-org/gitlab#221010 (closed)

Testing

  1. removed code which referenced an external library, but didn't remove the external library, go mod tidy job fails
  2. ran go mod tidy and committed changes, go mod tidy job now passes

Does this MR meet the acceptance criteria?

Edited by Adam Cohen

Merge request reports