diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d55d29a5..1c4d2cec 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,7 +34,7 @@ jobs: with: go-version: 1.21 - uses: actions/checkout@v4 - - run: go generate $(go list ./internal/pkg/mocks/...) + - run: make get-deps - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: diff --git a/internal/pkg/mocks/mocks.go b/internal/pkg/mocks/mocks.go index 24240dd3..0fbed2e1 100644 --- a/internal/pkg/mocks/mocks.go +++ b/internal/pkg/mocks/mocks.go @@ -2,6 +2,4 @@ package mocks // This package contains generated mocks -// mockgen -package=mocks -destination authenticator.go k8s.io/apiserver/pkg/authentication/authenticator Token -// mockgen -source=../../../vendor/github.com/argoproj/argo-cd/v2/pkg/apiclient/application/application.pb.go -destination=mock_argocd_application.go -package=mocks //go:generate go run github.com/golang/mock/mockgen@v1.6.0 -destination=argocd_application.go -package=mocks github.com/argoproj/argo-cd/v2/pkg/apiclient/application ApplicationServiceClient