Skip to content

Update target framework to net8.0 #74

Update target framework to net8.0

Update target framework to net8.0 #74

Triggered via pull request February 15, 2026 08:25
@phnx47phnx47
synchronize #389
update-tfm
Status Failure
Total duration 3m 4s
Artifacts

build.yml

on: pull_request
Matrix: Build & Test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
Build & Test (windows-latest)
Process completed with exit code 1.
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L62
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L37
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L174
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L172
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L166
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L151
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L62
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L37
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L174
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L172
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L166
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L151
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)