Skip to content

wip: started to add react-query - Ref gestion-de-projet#2507 #2834

wip: started to add react-query - Ref gestion-de-projet#2507

wip: started to add react-query - Ref gestion-de-projet#2507 #2834

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

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 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/views/MyResearches/index.tsx#L132
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/ControlPanel/ControlPanel.tsx#L103
'uuid' is assigned a value but never used
test: src/components/CreationCohort/DiagramView/DiagramView.tsx#L51
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L165
React Hook useEffect has a missing dependency: 'getBiologySearchResults'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L116
React Hook useEffect has missing dependencies: 'onChangeValue' and 'selectedCriteria.code'. Either include them or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Form/BiologyForm.tsx#L129
React Hook useEffect has a missing dependency: 'onChangeValue'. Either include it or remove the dependency array