From 45a152b096819ae20d54771267acabb821f7fe52 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Tue, 24 Nov 2026 09:17:23 +0100 Subject: [PATCH] build(deps): require and test Go 1.20 or later github.com/stretchr/objx v0.5.3 requires Go 1.20 (see https://github.com/stretchr/objx/blob/v0.5.3/go.mod), this bumps the minimum Go version to match and drops older versions from CI. Signed-off-by: Stephen Kitt --- .github/workflows/main.yml | 3 --- go.mod | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5818e24a2..60075b9e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,9 +25,6 @@ jobs: strategy: matrix: go_version: - - "1.17" - - "1.18" - - "1.19" - "1.20" - "1.21" - "1.22" diff --git a/go.mod b/go.mod index 24b410a85..645e88e6f 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/stretchr/testify // This should match the minimum supported version that is tested in // .github/workflows/main.yml -go 1.17 +go 1.20 require ( github.com/stretchr/objx v0.5.3