Skip to content

Remove warning and fix primary constructor use. #101

Remove warning and fix primary constructor use.

Remove warning and fix primary constructor use. #101

Triggered via push April 22, 2024 20:01
Status Failure
Total duration 33s
Artifacts

build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
build: test/Htmx.Tests/HtmxTriggerSpecificationTests.cs#L52
The feature 'collection literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
build: test/Htmx.Tests/HtmxTriggerSpecificationTests.cs#L52
The feature 'collection literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: test/Htmx.Tests/Helpers/FakeHttpResponse.cs#L32
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build: test/Htmx.Tests/Helpers/FakeHttpRequest.cs#L35
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build: test/Htmx.Tests/Helpers/FakeHttpResponse.cs#L10
Non-nullable property 'HttpContext' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpResponse.cs#L10
Non-nullable property 'Body' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpResponse.cs#L10
Non-nullable property 'ContentType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpResponse.cs#L10
Non-nullable property 'Cookies' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpRequest.cs#L11
Non-nullable property 'HttpContext' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpRequest.cs#L11
Non-nullable property 'Method' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpRequest.cs#L11
Non-nullable property 'Scheme' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: test/Htmx.Tests/Helpers/FakeHttpRequest.cs#L11
Non-nullable property 'Query' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.