Skip to content

attempt to add u16 support to loaders, histogram, channel, fusion #793

attempt to add u16 support to loaders, histogram, channel, fusion

attempt to add u16 support to loaders, histogram, channel, fusion #793

Triggered via push January 30, 2024 22:01
Status Failure
Total duration 42s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 6 warnings
✅ Lint: src/MeshVolume.ts#L414
Argument of type 'Uint8Array | Uint16Array' is not assignable to parameter of type 'Uint8Array'.
✅ Lint: src/loaders/JsonImageInfoLoader.ts#L179
Argument of type '(ch: number, data: Uint8Array) => void' is not assignable to parameter of type 'RawChannelDataCallback'.
✅ Lint
Process completed with exit code 2.
Unit Test: src/MeshVolume.ts#L414
Argument of type 'Uint8Array | Uint16Array' is not assignable to parameter of type 'Uint8Array'.
Unit Test: src/loaders/JsonImageInfoLoader.ts#L179
Argument of type '(ch: number, data: Uint8Array) => void' is not assignable to parameter of type 'RawChannelDataCallback'.
Unit Test
Process completed with exit code 2.
Type Check: src/MeshVolume.ts#L414
Argument of type 'Uint8Array | Uint16Array' is not assignable to parameter of type 'Uint8Array'.
Type Check: src/loaders/JsonImageInfoLoader.ts#L179
Argument of type '(ch: number, data: Uint8Array) => void' is not assignable to parameter of type 'RawChannelDataCallback'.
Type Check
Process completed with exit code 2.
✅ Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
✅ Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. 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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Type Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/