Skip to content

wip: progress with the style - Ref : gestion-de-projet#2507 #2865

wip: progress with the style - Ref : gestion-de-projet#2507

wip: progress with the style - Ref : gestion-de-projet#2507 #2865

Triggered via push January 16, 2025 17:34
Status Failure
Total duration 1m 46s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
test: src/components/CreationCohort/Modals/ModalCreateNewRequest/ModalCreateNewRequest.tsx#L145
Argument of type '{ uuid: string; name: string; }' is not assignable to parameter of type 'Omit<ProjectType, "uuid">'.
test: src/components/Exploration/components/MenuButtonFilter/index.tsx#L23
Type '(e: any) => void' is not assignable to type '() => void'.
test: src/components/Exploration/components/MenuButtonFilter/index.tsx#L23
Parameter 'e' implicitly has an 'any' type.
test: src/components/Exploration/components/SamplesList.tsx#L49
Argument of type 'string' is not assignable to parameter of type 'number'.
test: src/state/project.ts#L36
Argument of type 'number' is not assignable to parameter of type 'string'.
test: src/state/project.ts#L49
Argument of type 'number' is not assignable to parameter of type 'string'.
test: src/state/request.ts#L35
Argument of type 'number' is not assignable to parameter of type 'string'.
test: src/state/request.ts#L41
Argument of type 'number' is not assignable to parameter of type 'string'.
test: src/views/MyResearches/index.tsx#L131
Type '{ id: string; label: Element; } | undefined' is not assignable to type 'TabType<string, ReactNode>'.
test
Process completed with exit code 2.
test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L114
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L128
React Hook useEffect has missing dependencies: 'criteriaData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CcamForm/index.tsx#L71
React Hook useEffect has missing dependencies: 'criteriaData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/Cim10Form/index.tsx#L84
React Hook useEffect has missing dependencies: 'criteriaData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/DocumentsForm/index.tsx#L116
React Hook useEffect has missing dependencies: 'defaultValues.search' and 'searchInputError'. Either include them or remove the dependency array. You can also do a functional update 'setSearchInputError(s => ...)' if you only need 'searchInputError' in the 'setSearchInputError' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/GHMForm/index.tsx#L66
React Hook useEffect has missing dependencies: 'criteriaData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/MedicationForm/index.tsx#L64
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/MedicationForm/index.tsx#L78
React Hook useEffect has missing dependencies: 'criteriaData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call