From 21020fc82ff8050a2d25d8e2ac7aeec9a512b934 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Fri, 22 Nov 2024 14:59:39 -0500 Subject: [PATCH] chore(lint): setting download mode for modules to readonly Setting this allows validation that go.mod is up to date in CI Signed-off-by: Jennifer Power --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 2a7a765..b1262eb 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +run: + # disallows implicit automatic updating of go.mod and fails when any changes to go.mod are needed + modules-download-mode: readonly linters: enable: - errcheck # Checks for unchecked errors