Fix types #6144
ci.yml
on: push
Matrix: Build and test
Test standalone binary in ubuntu
55s
Test standalone binary in ARM ubuntu
1m 6s
Test standalone binary in windows
1m 45s
Test standalone binary in macOS
1m 19s
Test standalone binary in ARM macOS
1m 0s
Static Analyzer - Diff Aware
24s
Static Analyzer - Non Diff Aware
32s
Check licenses
43s
Matrix: End-to-end test the package
Annotations
85 errors and 1 warning
Build and test (16):
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (16):
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Build and test (16)
Process completed with exit code 2.
|
Build and test (16)
No files were found with the provided path: sarif-datadog-ci.sarif. No artifacts will be uploaded.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ubuntu:
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Test standalone binary in ubuntu
Process completed with exit code 2.
|
Build and test (20):
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (20):
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Build and test (20)
Process completed with exit code 2.
|
Build and test (20)
No files were found with the provided path: sarif-datadog-ci.sarif. No artifacts will be uploaded.
|
Build and test (18)
No files were found with the provided path: sarif-datadog-ci.sarif. No artifacts will be uploaded.
|
Build and test (18):
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (18):
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Build and test (18)
Process completed with exit code 2.
|
Build and test (14):
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Build and test (14):
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Build and test (14)
Process completed with exit code 2.
|
Build and test (14)
No files were found with the provided path: sarif-datadog-ci.sarif. No artifacts will be uploaded.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM macOS:
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Test standalone binary in ARM macOS
Process completed with exit code 2.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in ARM ubuntu:
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Test standalone binary in ARM ubuntu
Process completed with exit code 2.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in macOS:
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Test standalone binary in macOS
Process completed with exit code 2.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L136
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L137
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L138
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L139
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L140
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L141
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/payload.ts#L144
Type 'string | undefined' is not assignable to type 'string'.
|
Test standalone binary in windows:
src/commands/sbom/renderer.ts#L26
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<Record<SpanTag, string>>'.
|
Test standalone binary in windows
Process completed with exit code 1.
|
Continuous Integration
This workflow ran on a hosted runner that uses the "Base Image for Ubuntu Server 22.04". This image will be deprecated in September 2024. Please setup a new runner to use the "Ubuntu 22.04 by Arm Limited" or "Ubuntu 24.04 by Arm Limited" image. This will help reduce workflow run times as there are pre-installed tools. To view the list of installed software on new images, check out https://github.com/actions/partner-runner-images repository.
|