From 83efe3481a5c001ae37116e8a5b0240552fa6c04 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Sat, 29 Apr 2023 11:48:57 -0700 Subject: ci: gofmt, golint => revive, update tools and actions (#87) Fixes up the `make lint` target to also check that all files are properly gofmt-ed, replaces the deprecated `golint` check with `revive`, and sets up dependabot to also update tools and actions regularly. --- tools/go.mod | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'tools/go.mod') diff --git a/tools/go.mod b/tools/go.mod index e198f0b..8bc9c9f 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,16 +1,26 @@ module go.uber.org/sally/tools require ( - golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 + github.com/mgechev/revive v1.3.1 honnef.co/go/tools v0.4.0 ) require ( github.com/BurntSushi/toml v1.2.1 // indirect + github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 // indirect + github.com/fatih/color v1.15.0 // indirect + github.com/fatih/structtag v1.2.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.17 // indirect + github.com/mattn/go-runewidth v0.0.9 // indirect + github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/olekukonko/tablewriter v0.0.5 // indirect + github.com/pkg/errors v0.9.1 // indirect golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a // indirect - golang.org/x/mod v0.7.0 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/tools v0.4.1-0.20221208213631-3f74d914ae6d // indirect + golang.org/x/mod v0.9.0 // indirect + golang.org/x/sys v0.6.0 // indirect + golang.org/x/tools v0.7.0 // indirect ) go 1.19 -- cgit v1.2.3