tree: 113a26709419ff9292eb231a6691dfd03a78bdc6 [path history] [tgz]
  1. entrypoint.sh
  2. README.md
.github/actions/check-go-modules/README.md

check-go-modules action

This action lets you perform checks to verify that

  • go.mod is unmodified after installing modules
  • go.sum is unmodified after installing modules
  • After installing modules, the vendor directory contains no untracked files, modified files, or deleted files.

Outputs

exit-code

Exit code is 0 if the check succeeded.

Example usage

- run: .github/actions/check-go-modules/entrypoint.sh vendor_dependencies
- run: .github/actions/check-go-modules/entrypoint.sh check_vendored_deps
- run: .github/actions/check-go-modules/entrypoint.sh check_go_file go.mod