From 0ac8d15a88e11897d5893f0d77a73705a35b3580 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann Date: Wed, 1 Dec 2021 21:00:18 +0100 Subject: [PATCH] Bump Go version in go.mod and for quick tests to 1.14 Go 1.13 was released in September 2019, more than two years ago. Updating to one later release should be fine. The primary reason for doing this is the introduction of "testing".T.Cleanup in Go 1.14 (https://pkg.go.dev/testing#T.Cleanup). Signed-off-by: Michael Hanselmann --- .github/workflows/test.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86ea305..30edfad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -216,7 +216,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - gover: ['1.13.15'] + gover: ['1.14.15'] runs-on: "${{matrix.os}}" name: "go${{matrix.gover}} on ${{matrix.os}} (quick)" steps: diff --git a/go.mod b/go.mod index 744b506..0be9e1d 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ module periph.io/x/devices/v3 -go 1.13 +go 1.14 require ( github.com/maruel/ansi256 v1.0.2