diff --git a/.sage/go.mod b/.sage/go.mod index a4d4895..8c8e7c8 100644 --- a/.sage/go.mod +++ b/.sage/go.mod @@ -2,4 +2,4 @@ module sage go 1.20 -require go.einride.tech/sage v0.276.0 +require go.einride.tech/sage v0.279.1 diff --git a/.sage/go.sum b/.sage/go.sum index c05d0ce..d3ec738 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.276.0 h1:uR5JGcGsAUm1oJ9JQymLGdL+qeLPmXNnmcir7vrIkuM= -go.einride.tech/sage v0.276.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= +go.einride.tech/sage v0.279.1 h1:Xq8I4eYG1aqpU8L+kasIX129q0UEyWkH+iyagi7gQgM= +go.einride.tech/sage v0.279.1/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= diff --git a/.sage/sagefile.go b/.sage/sagefile.go index 46606b5..931ce2c 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" ) @@ -24,7 +23,7 @@ func main() { } func All(ctx context.Context) error { - sg.Deps(ctx, ConvcoCheck, GoGenerate, GoLint, GoReview, GoTest, FormatMarkdown, FormatYAML) + sg.Deps(ctx, ConvcoCheck, GoGenerate, GoLint, GoTest, FormatMarkdown, FormatYAML) sg.SerialDeps(ctx, GoModTidy, GitVerifyNoDiff) return nil } @@ -44,11 +43,6 @@ func GoTest(ctx context.Context) error { return sggo.TestCommand(ctx).Run() } -func GoReview(ctx context.Context) error { - sg.Logger(ctx).Println("reviewing Go files...") - return sggoreview.Command(ctx, "-c", "1", "./...").Run() -} - func GoLint(ctx context.Context) error { sg.Logger(ctx).Println("linting Go files...") return sggolangcilint.Run(ctx) diff --git a/Makefile b/Makefile index 8d62bdb..39d896b 100644 --- a/Makefile +++ b/Makefile @@ -75,10 +75,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