diff --git a/.sage/go.mod b/.sage/go.mod index de29d61..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.0 +require go.einride.tech/sage v0.277.0 diff --git a/.sage/go.sum b/.sage/go.sum index 33f0a05..c28edef 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.275.0 h1:t+4asK8qcNsy9/q6vuGrM3LU7KV+NCzrQFVugH0u1CM= -go.einride.tech/sage v0.275.0/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 8aef427..4e6af3a 100644 --- a/.sage/sagefile.go +++ b/.sage/sagefile.go @@ -8,7 +8,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" ) @@ -23,7 +22,7 @@ func main() { } func All(ctx context.Context) error { - sg.Deps(ctx, ConvcoCheck, GolangciLint, GoReview, GoTest, FormatMarkdown, FormatYaml) + sg.Deps(ctx, ConvcoCheck, GolangciLint, GoTest, FormatMarkdown, FormatYaml) sg.SerialDeps(ctx, GoModTidy, GitVerifyNoDiff) return nil } @@ -43,11 +42,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 GolangciLint(ctx context.Context) error { sg.Logger(ctx).Println("linting Go files...") return sggolangcilint.Run(ctx) diff --git a/Makefile b/Makefile index 8e7ba1c..ef02a9f 100644 --- a/Makefile +++ b/Makefile @@ -67,10 +67,6 @@ git-verify-no-diff: $(sagefile) go-mod-tidy: $(sagefile) @$(sagefile) GoModTidy -.PHONY: go-review -go-review: $(sagefile) - @$(sagefile) GoReview - .PHONY: go-test go-test: $(sagefile) @$(sagefile) GoTest