diff --git a/.github/workflows/publish-nuget-packages.yaml b/.github/workflows/publish-nuget-packages.yaml
index 8d21582..00e1cb3 100644
--- a/.github/workflows/publish-nuget-packages.yaml
+++ b/.github/workflows/publish-nuget-packages.yaml
@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
- dotnet-version: '3.0.100'
+ dotnet-version: '5.0.100'
- run: dotnet pack src/prometheus-net.DotNetRuntime --include-symbols -c "ReleaseV2" --output "build/"
- run: dotnet nuget push "build/prometheus-net.DotNetRuntime.2.*.symbols.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s "https://api.nuget.org/v3/index.json" -n true
@@ -22,6 +22,6 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
- dotnet-version: '3.0.100'
+ dotnet-version: '5.0.100'
- run: dotnet pack src/prometheus-net.DotNetRuntime --include-symbols -c "ReleaseV3" --output "build/"
- run: dotnet nuget push "build/prometheus-net.DotNetRuntime.3.*.symbols.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s "https://api.nuget.org/v3/index.json" -n true
diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml
index d6e7898..6628ace 100644
--- a/.github/workflows/run-tests.yaml
+++ b/.github/workflows/run-tests.yaml
@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
- dotnet-version: '3.0.100'
+ dotnet-version: '5.0.100'
# excluding When_IO_work_is_executed_on_the_thread_pool_then_the_number_of_io_threads_is_measured for now, for some reason we don't seem to be
# generating IO thread events in the github actions environment
- run: dotnet test -c "DebugV2" --filter Name!=When_IO_work_is_executed_on_the_thread_pool_then_the_number_of_io_threads_is_measured
@@ -23,5 +23,5 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
- dotnet-version: '3.0.100'
+ dotnet-version: '5.0.100'
- run: dotnet test -c "DebugV3" --filter Name!=When_IO_work_is_executed_on_the_thread_pool_then_the_number_of_io_threads_is_measured
diff --git a/src/prometheus-net.DotNetRuntime.Tests/prometheus-net.DotNetRuntime.Tests.csproj b/src/prometheus-net.DotNetRuntime.Tests/prometheus-net.DotNetRuntime.Tests.csproj
index 38f2b9f..750859b 100644
--- a/src/prometheus-net.DotNetRuntime.Tests/prometheus-net.DotNetRuntime.Tests.csproj
+++ b/src/prometheus-net.DotNetRuntime.Tests/prometheus-net.DotNetRuntime.Tests.csproj
@@ -2,7 +2,7 @@
- netcoreapp3.0
+ net5.0
false
Prometheus.DotNetRuntime.Tests
AnyCPU
diff --git a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj
index 9205e61..73e4d02 100644
--- a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj
+++ b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj
@@ -6,7 +6,7 @@
prometheus-net.DotNetRuntime
prometheus-net.DotNetRuntime
- $(PromMajorVersion).4.0
+ $(PromMajorVersion).4.1
James Luck
Prometheus prometheus-net IOnDemandCollector runtime metrics gc jit threadpool contention stats
https://github.com/djluck/prometheus-net.DotNetRuntime
@@ -16,8 +16,7 @@
https://github.com/djluck/prometheus-net.DotNetRuntime/blob/master/LICENSE.txt
ReleaseV2;DebugV2;DebugV3;ReleaseV3
AnyCPU
- netcoreapp2.2;netcoreapp3.0;netstandard2.1
- 8
+ netcoreapp2.2;netcoreapp3.0;netstandard2.1;net5.0
true
1701;1702;CS1591;
@@ -25,7 +24,7 @@
-
+
bin\ReleaseV2\prometheus-net.DotNetRuntime.xml