Skip to content

formatting

formatting #4939

Triggered via push October 12, 2024 08:34
Status Success
Total duration 5m 36s
Artifacts

unit-test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/[email protected], actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-test: packages/toolkit/src/components/top-bar/NamespaceSwitch.tsx#L113
React Hook React.useMemo has an unnecessary dependency: 'namespacesRemainingCredit.isSuccess'. Either exclude it or remove the dependency array
unit-test: packages/toolkit/src/lib/react-query-service/pipeline/useSortedReleases.tsx#L61
React Hook React.useEffect has a missing dependency: 'pipelineReleases'. Either include it or remove the dependency array
unit-test: packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L60
The 'forceCloseCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 184) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceCloseCollapsibleFormGroups' in its own useMemo() Hook
unit-test: packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L64
The 'forceOpenCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 184) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceOpenCollapsibleFormGroups' in its own useMemo() Hook
unit-test: packages/toolkit/src/view/model/ModelHubSettingPageMainView.tsx#L122
React Hook React.useEffect has a missing dependency: 'updateActiveVersionUrl'. Either include it or remove the dependency array
unit-test: packages/toolkit/src/view/model/view-model/ModelPlayground.tsx#L276
React Hook useEffect has missing dependencies: 'pollForResponse' and 'toast'. Either include them or remove the dependency array
unit-test: packages/toolkit/src/view/model/view-model/ModelPlayground.tsx#L321
React Hook useEffect has a missing dependency: 'pollForResponse'. Either include it or remove the dependency array
unit-test: packages/toolkit/src/view/model/view-model/ModelRunViews/List.tsx#L103
React Hook React.useMemo has an unnecessary dependency: 'modelRuns.isSuccess'. Either exclude it or remove the dependency array
unit-test: packages/toolkit/src/view/model/view-model/ModelRunViews/List.tsx#L245
React Hook React.useMemo has missing dependencies: 'model?.id', 'orderBy', and 'owner.id'. Either include them or remove the dependency array
unit-test: packages/toolkit/src/view/model/view-model/ModelRunViews/Run.tsx#L77
React Hook React.useMemo has an unnecessary dependency: 'modelRuns.isSuccess'. Either exclude it or remove the dependency array
unit-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/