Skip to content

Commit 0352cac

Browse files
joaoeinridedependabot[bot]
authored andcommitted
fix: remove deprecated go-review
1 parent 9790ab6 commit 0352cac

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.sage/main.go

+1-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"go.einride.tech/sage/tools/sggo"
1010
"go.einride.tech/sage/tools/sggolangcilint"
1111
"go.einride.tech/sage/tools/sggolicenses"
12-
"go.einride.tech/sage/tools/sggoreview"
1312
"go.einride.tech/sage/tools/sgmdformat"
1413
"go.einride.tech/sage/tools/sgyamlfmt"
1514
)
@@ -25,7 +24,7 @@ func main() {
2524

2625
func Default(ctx context.Context) error {
2726
sg.Deps(ctx, ConvcoCheck, FormatMarkdown, FormatYaml)
28-
sg.Deps(ctx, GoLint, GoReview)
27+
sg.Deps(ctx, GoLint)
2928
sg.Deps(ctx, GoTest)
3029
sg.Deps(ctx, GoModTidy)
3130
sg.Deps(ctx, GoLicenses, GitVerifyNoDiff)
@@ -42,11 +41,6 @@ func GoTest(ctx context.Context) error {
4241
return sggo.TestCommand(ctx).Run()
4342
}
4443

45-
func GoReview(ctx context.Context) error {
46-
sg.Logger(ctx).Println("reviewing Go files...")
47-
return sggoreview.Run(ctx)
48-
}
49-
5044
func GoLint(ctx context.Context) error {
5145
sg.Logger(ctx).Println("linting Go files...")
5246
return sggolangcilint.Run(ctx)

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ go-lint: $(sagefile)
7575
go-mod-tidy: $(sagefile)
7676
@$(sagefile) GoModTidy
7777

78-
.PHONY: go-review
79-
go-review: $(sagefile)
80-
@$(sagefile) GoReview
81-
8278
.PHONY: go-test
8379
go-test: $(sagefile)
8480
@$(sagefile) GoTest

0 commit comments

Comments
 (0)