From ddec212a9a29fdabde3d2237352d9f8dc1a2c2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Tue, 14 Mar 2023 21:43:35 +0100 Subject: [PATCH 1/2] deps: use a tagged version of golang.org/x/sys go get golang.org/x/sys@latest && go mod tidy --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index db887a6..057d69d 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/mattn/go-isatty go 1.15 -require golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab +require golang.org/x/sys v0.6.0 diff --git a/go.sum b/go.sum index 96ea138..789d7a1 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab h1:2QkjZIsXupsJbJIdSjjUOgWK3aEtzyuh2mPt3l/CkeU= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 1f921902b3bfe527d60684acced8c1ae88e4e581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Tue, 14 Mar 2023 22:25:44 +0100 Subject: [PATCH 2/2] CI: drop Go 1.15, 1.16 Drop support of Go 1.15, 1.16 because of recent golang.org/x/sys which stopped supporting them. --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f63e5c8..ff981c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,6 @@ jobs: - '1.18' - '1.19' - '1.17' - - '1.16' - - '1.15' steps: - uses: actions/setup-go@v2 with: