diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b97708..4523913 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - go-version: [~1.13, ^1] + go-version: [~1.17, ^1] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} env: diff --git a/go.mod b/go.mod index 7b81d63..623fbec 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,13 @@ module github.com/muesli/termenv -go 1.13 +go 1.17 require ( github.com/aymanbagabas/go-osc52/v2 v2.0.1 github.com/lucasb-eyer/go-colorful v1.2.0 github.com/mattn/go-isatty v0.0.17 github.com/mattn/go-runewidth v0.0.14 - golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab + golang.org/x/sys v0.6.0 ) + +require github.com/rivo/uniseg v0.2.0 // indirect diff --git a/go.sum b/go.sum index a8ef02a..e5b1f06 100644 --- a/go.sum +++ b/go.sum @@ -8,5 +8,6 @@ github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWV github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -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=