Commit Graph

4 Commits (efbdc716e5a3c654ae94f0bb1da9e88523f0ac45)

Author SHA1 Message Date
elijahomolo 97dc16097f update dependencies 2022-10-13 12:24:55 -04:00
Timo Reimann 8e59edeb32
Update dependencies to fix crash on Go 1.17 (#126)
When running clusterlint on Go 1.17, it panics right on startup. The
issue is our usage of github.com/mattn/go-isatty (consumed by
github.com/fatih/color) which had a bug until [1]. Updating to the
latest v0.0.14 release fixes the issue.

Also bump the minimum (library) dependency to 1.16 in go.mod since that
is the oldest, officially supported Go version. Bumping to 1.17 actually
enables us to fix the issue by simply updating to the latest
github.com/fatih/color, as opposed to adding an indirect import of
github.com/mattn/go-isatty which this change does right now (which I
suppose works due to Go 1.17 module management improvements); however,
that'd come at the price of breaking compatibility with 1.16 users which
is non-ideal.
Regardless, update github.com/fatih/color as well while we're here.

Also bump the version of the Go image used for testing.

[1] https://github.com/mattn/go-isatty/pull/66
2021-09-19 16:52:07 +02:00
Varsha Varadarajan 8de65f1dbb Update circle ci jobs to run on go 1.13 2020-06-22 10:45:05 -07:00
Varsha Varadarajan a87e1dbd2f Add circleci config yml 2019-07-16 12:50:41 -04:00