From 02831f4a67dcee6042d686e34ee33f5e4ce7c4ba Mon Sep 17 00:00:00 2001 From: hansmi Date: Fri, 3 Dec 2021 19:01:39 +0100 Subject: [PATCH] Bump Go version in go.mod and for quick tests to 1.14 (#29) 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