Vendoring Go dependencies
- Add the desired import to a file.
- Run
make gomod
to start the update process. If this step is successful, the imported dependency will be added to thevendor
subdirectory. - Commit any changes, including changes to the directory,
go.mod
, andgo.sum
. - Open a pull request with these changes separately from other work so that it is easier to review.
- Run
make gomod
. - Review the changes to ensure that they are as intended / trustworthy.
- Commit any changes, including changes to the
vendor
directory, andgo.sum
. - Open a pull request with these changes separately from other work so that it is easier to review. Please include any significant changes you observed.