From d3d5628a13c37b20174031b800da6e0461d9d933 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 3 Nov 2021 10:26:49 -0400 Subject: [PATCH 1/2] build: Test against Go 1.17 --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 467e6a7..9cd6859 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [1.13, 1.14] + go: [1.16, 1.17] steps: - name: Set up Go uses: actions/setup-go@v2 @@ -15,7 +15,7 @@ jobs: - name: Check out source uses: actions/checkout@v2 - name: Install Linters - run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0" + run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0" - name: Test env: GO111MODULE: "on" From c71a2d8d8a6d449accab473e5541375e8bcc1546 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 3 Nov 2021 10:27:41 -0400 Subject: [PATCH 2/2] build: update to termbox-go v1.1.1 --- go.mod | 5 +---- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index b35cf9a..3c22afb 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,4 @@ module github.com/companyzero/ttk go 1.12 -require ( - github.com/mattn/go-runewidth v0.0.9 // indirect - github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1 -) +require github.com/nsf/termbox-go v1.1.1 diff --git a/go.sum b/go.sum index 72bf7b1..509f0d3 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1 h1:lh3PyZvY+B9nFliSGTn5uFuqQQJGuNrD0MLCokv09ag= -github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ= +github.com/nsf/termbox-go v1.1.1 h1:nksUPLCb73Q++DwbYUBEglYBRPZyoXJdrj5L+TkjyZY= +github.com/nsf/termbox-go v1.1.1/go.mod h1:T0cTdVuOwf7pHQNtfhnEbzHbcNyCEcVU4YPpouCbVxo=