From b5eddf779a908f19fda2a8ce0f1367d9c979b718 Mon Sep 17 00:00:00 2001 From: SuperQ Date: Fri, 2 Jun 2023 16:11:11 +0200 Subject: [PATCH] Fix Go modules version The `go` directive in go.mod is meant to indicate the minimum supported version. See: https://go.dev/doc/modules/gomod-ref#go Signed-off-by: SuperQ --- go.mod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index bddefac..60d69a8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/stretchr/testify -go 1.20 +// This should match the minimum supported version that is tested in +// .github/workflows/main.yml +go 1.19 require ( github.com/davecgh/go-spew v1.1.1