File tree 2 files changed +2
-12
lines changed
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,6 @@ steps:
39
39
- make lint-frontend
40
40
depends_on : [deps-frontend]
41
41
42
- - name : security-check
43
- image : golang:1.19
44
- pull : always
45
- commands :
46
- - make security-check
47
- depends_on : [deps-backend]
48
- volumes :
49
- - name : deps
50
- path : /go
51
-
52
42
- name : lint-backend
53
43
image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
54
44
pull : always
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ checks: checks-frontend checks-backend
333
333
checks-frontend : lockfile-check svg-check
334
334
335
335
.PHONY : checks-backend
336
- checks-backend : tidy-check swagger-check fmt-check misspell-check swagger-validate
336
+ checks-backend : tidy-check swagger-check fmt-check misspell-check swagger-validate security-check
337
337
338
338
.PHONY : lint
339
339
lint : lint-frontend lint-backend
@@ -745,7 +745,7 @@ generate-go: $(TAGS_PREREQ)
745
745
746
746
.PHONY : security-check
747
747
security-check :
748
- govulncheck -v ./...
748
+ go run $( GOVULNCHECK_PACKAGE ) -v ./...
749
749
750
750
$(EXECUTABLE ) : $(GO_SOURCES ) $(TAGS_PREREQ )
751
751
CGO_CFLAGS=" $( CGO_CFLAGS) " $(GO ) build $(GOFLAGS ) $(EXTRA_GOFLAGS ) -tags ' $(TAGS)' -ldflags ' -s -w $(LDFLAGS)' -o $@
You can’t perform that action at this time.
0 commit comments