diff --git a/Justfile b/Justfile index 8157d63df..ff3eff5cf 100644 --- a/Justfile +++ b/Justfile @@ -6,7 +6,7 @@ default: pre-commit: generate earthly tidy lint export-docs-events earthly: - @earthly --no-output +pre-commit + @earthly --no-output --secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY +pre-commit lint: @golangci-lint run --fix --build-tags it --timeout 5m @@ -26,11 +26,7 @@ export-docs-events: tests: @go test -race -covermode=atomic \ - -coverpkg=github.com/formancehq/ledger/internal/... \ - -coverpkg=github.com/formancehq/ledger/pkg/events/... \ - -coverpkg=github.com/formancehq/ledger/pkg/accounts/... \ - -coverpkg=github.com/formancehq/ledger/pkg/assets/... \ - -coverpkg=github.com/formancehq/ledger/cmd/... \ + -coverpkg=github.com/formancehq/ledger/internal/...,github.com/formancehq/ledger/pkg/events/...,github.com/formancehq/ledger/pkg/accounts/...,github.com/formancehq/ledger/pkg/assets/...,github.com/formancehq/ledger/cmd/... \ -coverprofile coverage.txt \ -tags it \ ./...