Skip to content

Commit a3211dc

Browse files
authored
Build: set 1.17 as minimum supported Go version (zyedidia#3461)
1 parent e6d4e37 commit a3211dc

File tree

6 files changed

+18
-14
lines changed

6 files changed

+18
-14
lines changed

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
nightly:
88
strategy:
99
matrix:
10-
go-version: [1.19.x]
10+
go-version: [1.23.x]
1111
os: [ubuntu-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
release:
99
strategy:
1010
matrix:
11-
go-version: [1.19.x]
11+
go-version: [1.23.x]
1212
os: [ubuntu-latest]
1313
runs-on: ${{ matrix.os }}
1414
steps:

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.19.x]
7+
go-version: [1.17.x, 1.23.x]
88
os: [ubuntu-latest, macos-latest, windows-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Without these tools installed, micro will use an internal clipboard for copy and
162162

163163
If your operating system does not have a binary release, but does run Go, you can build from source.
164164

165-
Make sure that you have Go version 1.16 or greater and Go modules are enabled.
165+
Make sure that you have Go version 1.17 or greater and Go modules are enabled.
166166

167167
```
168168
git clone https://github.com/zyedidia/micro

go.mod

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,29 @@ require (
1414
github.com/zyedidia/clipper v0.1.1
1515
github.com/zyedidia/glob v0.0.0-20170209203856-dd4023a66dc3
1616
github.com/zyedidia/json5 v0.0.0-20200102012142-2da050b1a98d
17-
github.com/zyedidia/tcell/v2 v2.0.10 // indirect
17+
github.com/zyedidia/tcell/v2 v2.0.10
1818
github.com/zyedidia/terminal v0.0.0-20230315200948-4b3bcf6dddef
1919
golang.org/x/text v0.3.8
2020
gopkg.in/yaml.v2 v2.2.8
2121
layeh.com/gopher-luar v1.0.7
2222
)
2323

24+
require (
25+
github.com/creack/pty v1.1.18 // indirect
26+
github.com/davecgh/go-spew v1.1.1 // indirect
27+
github.com/gdamore/encoding v1.0.0 // indirect
28+
github.com/lucasb-eyer/go-colorful v1.0.3 // indirect
29+
github.com/pmezard/go-difflib v1.0.0 // indirect
30+
github.com/rivo/uniseg v0.1.0 // indirect
31+
github.com/xo/terminfo v0.0.0-20200218205459-454e5b68f9e8 // indirect
32+
github.com/zyedidia/poller v1.0.1 // indirect
33+
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
34+
)
35+
2436
replace github.com/kballard/go-shellquote => github.com/zyedidia/go-shellquote v0.0.0-20200613203517-eccd813c0655
2537

2638
replace github.com/mattn/go-runewidth => github.com/zyedidia/go-runewidth v0.0.12
2739

2840
replace layeh.com/gopher-luar => github.com/layeh/gopher-luar v1.0.7
2941

30-
go 1.16
42+
go 1.17

go.sum

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ github.com/zyedidia/json5 v0.0.0-20200102012142-2da050b1a98d h1:zmDMkh22zXOB7gz8
5454
github.com/zyedidia/json5 v0.0.0-20200102012142-2da050b1a98d/go.mod h1:NDJSTTYWivnza6zkRapeX2/LwhKPEMQ7bJxqgDVT78I=
5555
github.com/zyedidia/poller v1.0.1 h1:Tt9S3AxAjXwWGNiC2TUdRJkQDZSzCBNVQ4xXiQ7440s=
5656
github.com/zyedidia/poller v1.0.1/go.mod h1:vZXJOHGDcuK08GXhF6IAY0ZFd2WcgOR5DOTp84Uk5eE=
57-
github.com/zyedidia/tcell/v2 v2.0.9 h1:FxXRkE62N0GPHES7EMLtp2rteYqC9r1kVid8vJN1kOE=
58-
github.com/zyedidia/tcell/v2 v2.0.9/go.mod h1:i4NNlquIQXFeNecrOgxDQQJdu+7LmTi3g62asvmwUws=
59-
github.com/zyedidia/tcell/v2 v2.0.10-0.20221007181625-f562052bccb8 h1:53ULv4mmLyQDnqbjVxanckP57WSreWHwTmlLJrJEutY=
60-
github.com/zyedidia/tcell/v2 v2.0.10-0.20221007181625-f562052bccb8/go.mod h1:i4NNlquIQXFeNecrOgxDQQJdu+7LmTi3g62asvmwUws=
61-
github.com/zyedidia/tcell/v2 v2.0.10-0.20230320201625-54f6acdada4a h1:W4TWa++Wk6uRGxZoxr2nPX1TpIEl+Wxv0mTtocG4TYc=
62-
github.com/zyedidia/tcell/v2 v2.0.10-0.20230320201625-54f6acdada4a/go.mod h1:i4NNlquIQXFeNecrOgxDQQJdu+7LmTi3g62asvmwUws=
63-
github.com/zyedidia/tcell/v2 v2.0.10-0.20230831153116-061c5b2c7260 h1:SCAmAacT5BxZsmOFdFy5zwwi6nj1MjA60gydjKdTgXo=
64-
github.com/zyedidia/tcell/v2 v2.0.10-0.20230831153116-061c5b2c7260/go.mod h1:i4NNlquIQXFeNecrOgxDQQJdu+7LmTi3g62asvmwUws=
6557
github.com/zyedidia/tcell/v2 v2.0.10 h1:6fbbYAx/DYc9A//4jU1OeBrxtc9qJxYCZXCtGQbtTWU=
6658
github.com/zyedidia/tcell/v2 v2.0.10/go.mod h1:i4NNlquIQXFeNecrOgxDQQJdu+7LmTi3g62asvmwUws=
6759
github.com/zyedidia/terminal v0.0.0-20230315200948-4b3bcf6dddef h1:LeB4Qs0Tss4r/Qh8pfsTTqagDYHysfKJLYzAH3MVfu0=

0 commit comments

Comments
 (0)