From 944a4d941ae92789faa3c0992dded9e66d42a9ca Mon Sep 17 00:00:00 2001 From: mikestefanello Date: Thu, 10 Feb 2022 08:21:07 -0500 Subject: [PATCH] Added make command to check for dependency updates. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1adbcf6..24b7eec 100644 --- a/Makefile +++ b/Makefile @@ -60,4 +60,9 @@ test: .PHONY: worker worker: clear - go run worker/worker.go \ No newline at end of file + go run worker/worker.go + +# Check for direct dependency updates +.PHONY: check-updates +check-updates: + go list -u -m -f '{{if not .Indirect}}{{.}}{{end}}' all