From 762bf42adf033a33c0234f73d1ffbb89353c0122 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Thu, 29 Feb 2024 10:55:21 +0100 Subject: [PATCH] Update supported go versions to latest three (#149) --- .github/workflows/go.yml | 2 +- README.md | 2 +- go.mod | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index daa5162..378001f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.18.1', '1.17.6', '1.16.5' ] + go: [ '1.22', '1.21', '1.20' ] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 736e1eb..78dc1f8 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ To update Objx to the latest version, run: go get -u github.com/stretchr/objx ### Supported go versions -We currently support the most recent major Go versions from 1.13 onward. +We currently support the three recent major Go versions. ## Contributing Please feel free to submit issues, fork the repository and send pull requests! diff --git a/go.mod b/go.mod index 798ccd8..08dcdb3 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,13 @@ module github.com/stretchr/objx -go 1.13 +go 1.20 require github.com/stretchr/testify v1.8.2 +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) + exclude github.com/stretchr/testify v1.8.0