Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to currently supported Target Frameworks. #2331

Merged
merged 4 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_arangodb_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_consul_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Consul/HealthChecks.Consul.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_elasticsearch_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- run:
ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin/docker-compose
- name: Restore
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_eventstore_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.EventStore/HealthChecks.EventStore.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_eventstore_grpc_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.EventStore.gRPC/HealthChecks.EventStore.gRPC.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_gremlin_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Gremlin/HealthChecks.Gremlin.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_ibmmq_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.IbmMQ/HealthChecks.IbmMQ.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_influxdb_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.InfluxDB/HealthChecks.InfluxDB.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_kafka_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Kafka/HealthChecks.Kafka.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_milvus_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Milvus/HealthChecks.Milvus.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_mongodb_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.MongoDb/HealthChecks.MongoDb.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_mysql_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.MySql/HealthChecks.MySql.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_nats_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Nats/HealthChecks.Nats.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_network_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Network/HealthChecks.Network.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_npgsql_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.NpgSql/HealthChecks.NpgSql.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_openidconnectserver_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.OpenIdConnectServer/HealthChecks.OpenIdConnectServer.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_oracle_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Oracle/HealthChecks.Oracle.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_publisher_cloudwatch_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Publisher.CloudWatch/HealthChecks.Publisher.CloudWatch.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_qdrant_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Qdrant/HealthChecks.Qdrant.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_rabbitmq_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Rabbitmq/HealthChecks.Rabbitmq.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_ravendb_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.RavenDB/HealthChecks.RavenDB.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_redis_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Redis/HealthChecks.Redis.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_solr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Solr/HealthChecks.Solr.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_sqlserver_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.SqlServer/HealthChecks.SqlServer.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_ui_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore UI
run: dotnet restore ./src/HealthChecks.UI/HealthChecks.UI.csproj
- name: Restore UI.Client
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_ui_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore UI
run: dotnet restore ./src/HealthChecks.UI/HealthChecks.UI.csproj
- name: Restore UI.Client
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/healthchecks_ui_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.UI/HealthChecks.UI.csproj &&
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reusable_cd_preview_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: dotnet restore ${{inputs.PROJECT_PATH}}
- name: Build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reusable_cd_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: dotnet restore ${{inputs.PROJECT_PATH}}
- name: Build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reusable_ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Restore
run: |
dotnet restore ${{inputs.PROJECT_PATH}} &&
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<NoWarn>$(NoWarn);1591;IDISP013;AD0001;</NoWarn> <!--TODO: temporary solution, remove AD0001 after https://github.com/dotnet/aspnetcore/issues/50836 fixed-->
<NoWarn>$(NoWarn);1591;IDISP013;</NoWarn>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>

Expand Down
5 changes: 2 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="6.0.21" Condition="'$(TargetFramework)' == 'net6.0'" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="7.0.10" Condition="'$(TargetFramework)' == 'net7.0'" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="8.0.11" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="9.0.0" Condition="'$(TargetFramework)' == 'net9.0'" />
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.46.0" />
<PackageVersion Include="Microsoft.Azure.Devices" Version="1.40.0" />
<PackageVersion Include="Microsoft.Azure.DocumentDB.Core" Version="2.20.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</PropertyGroup>

<PropertyGroup>
<DefaultNetCoreApp>net6.0</DefaultNetCoreApp>
<DefaultNetCoreApp>net8.0</DefaultNetCoreApp>
<DefaultLibraryTargetFrameworks>$(DefaultNetCoreApp);netstandard2.0</DefaultLibraryTargetFrameworks>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/HealthChecks.Dapr/HealthChecks.Dapr.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFramework>$(DefaultNetCoreApp)</TargetFramework>
<PackageTags>$(PackageTags);Dapr</PackageTags>
<Description>HealthChecks.Dapr is the health check package for Dapr.</Description>
<VersionPrefix>$(HealthCheckDapr)</VersionPrefix>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFramework>$(DefaultNetCoreApp)</TargetFramework>
<PackageTags>$(PackageTags);EventStore;gRPC</PackageTags>
<Description>HealthChecks.EventStore.gRPC is the health check package for EventStore, using the gRPC client.</Description>
<VersionPrefix>$(HealthCheckEventStoregRPC)</VersionPrefix>
Expand Down
2 changes: 1 addition & 1 deletion src/HealthChecks.Kubernetes/HealthChecks.Kubernetes.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFramework>$(DefaultNetCoreApp)</TargetFramework>
<PackageTags>$(PackageTags);Kubernetes;k8s;Cluster</PackageTags>
<Description>HealthChecks.HealthChecks is the health check package for Kubernetes clusters.</Description>
<VersionPrefix>$(HealthCheckKubernetes)</VersionPrefix>
Expand Down
2 changes: 1 addition & 1 deletion src/HealthChecks.Network/HealthChecks.Network.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>$(DefaultLibraryTargetFrameworks)</TargetFrameworks>
<PackageTags>$(PackageTags);Network;Sftp;Ftp;Tcp;DNS</PackageTags>
<Description>HealthChecks.Network is the health check package for network services.</Description>
<VersionPrefix>$(HealthCheckNetwork)</VersionPrefix>
Expand Down
Loading
Loading