diff --git a/.sage/go.mod b/.sage/go.mod index 70637de..1e1ac7f 100644 --- a/.sage/go.mod +++ b/.sage/go.mod @@ -2,4 +2,4 @@ module sage go 1.17 -require go.einride.tech/sage v0.275.1 +require go.einride.tech/sage v0.277.0 diff --git a/.sage/go.sum b/.sage/go.sum index 2d3b41d..c28edef 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.275.1 h1:Gph2Hd2dKhyqOc9KXjlOM0q2YAwZbQMmIDkP5jJHDMA= -go.einride.tech/sage v0.275.1/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= +go.einride.tech/sage v0.277.0 h1:Sp+ofjuCUSDovAaVeUM2aIrDq7SE6iF8Yg0ZnqeDnkU= +go.einride.tech/sage v0.277.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= diff --git a/.sage/sagefile.go b/.sage/sagefile.go index 52ba3b0..8893f0b 100644 --- a/.sage/sagefile.go +++ b/.sage/sagefile.go @@ -9,7 +9,6 @@ import ( "go.einride.tech/sage/tools/sggit" "go.einride.tech/sage/tools/sggo" "go.einride.tech/sage/tools/sggolangcilint" - "go.einride.tech/sage/tools/sggoreview" "go.einride.tech/sage/tools/sgmdformat" "go.einride.tech/sage/tools/sgyamlfmt" ) @@ -30,7 +29,7 @@ func main() { func All(ctx context.Context) error { sg.Deps(ctx, ConvcoCheck, FormatMarkdown, FormatYAML, Proto.All) - sg.Deps(ctx, GoLint, GoReview, GoTest) + sg.Deps(ctx, GoLint, GoTest) sg.SerialDeps(ctx, GoModTidy, GitVerifyNoDiff) return nil } @@ -55,11 +54,6 @@ func GoLint(ctx context.Context) error { return sggolangcilint.Run(ctx) } -func GoReview(ctx context.Context) error { - sg.Logger(ctx).Println("reviewing Go files...") - return sggoreview.Command(ctx, "-c", "1", "./...").Run() -} - func GoModTidy(ctx context.Context) error { sg.Logger(ctx).Println("tidying Go module files...") return sg.Command(ctx, "go", "mod", "tidy", "-v").Run() diff --git a/Makefile b/Makefile index 3f5121c..8cb1938 100644 --- a/Makefile +++ b/Makefile @@ -71,10 +71,6 @@ go-lint: $(sagefile) go-mod-tidy: $(sagefile) @$(sagefile) GoModTidy -.PHONY: go-review -go-review: $(sagefile) - @$(sagefile) GoReview - .PHONY: go-test go-test: $(sagefile) @$(sagefile) GoTest