Skip to content

Commit

Permalink
* fix not running Roslyn analyzers when building with Release confi…
Browse files Browse the repository at this point in the history
…guration following NuGet/Home#5119 @ .github/actions/c#/action.yml

+ NuGet package `EntityFrameworkCore.Exceptions.PostgreSQL` @ c#/shared
  • Loading branch information
n0099 committed May 10, 2024
1 parent 3834e6b commit 8ee3dd1
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/c#/action.yml
Expand Up @@ -22,7 +22,8 @@ runs:
key: ${{ runner.os }}-nuget-${{ hashFiles('c#/*/packages.lock.json') }}
restore-keys: ${{ runner.os }}-nuget-

- run: dotnet restore --locked-mode
# https://github.com/NuGet/Home/issues/5119
- run: dotnet restore /property:Configuration=Release
working-directory: c#
shell: bash

Expand Down
18 changes: 18 additions & 0 deletions c#/crawler/packages.lock.json
Expand Up @@ -123,6 +123,23 @@
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"EntityFrameworkCore.Exceptions.Common": {
"type": "Transitive",
"resolved": "8.1.2",
"contentHash": "Yy1qw+mdXhHyptH42o2suEaNDZlcmwiaQZ56v8tUVUxUq33GQSYyTJ6wE2WuB2AjunTa4tPhieu2E+m6z/GcTg==",
"dependencies": {
"Microsoft.EntityFrameworkCore.Relational": "8.0.0"
}
},
"EntityFrameworkCore.Exceptions.PostgreSQL": {
"type": "Transitive",
"resolved": "8.1.2",
"contentHash": "SIIHSTcfN04sCY5YMC3azD3lTvGLIT+VjO5/8zaqSqxzAvAaJ9x7ZVr5M6j8ORAxeezIe9+X/XRRZ+mRNbM89w==",
"dependencies": {
"EntityFrameworkCore.Exceptions.Common": "8.1.2",
"Npgsql": "8.0.1"
}
},
"Google.Protobuf": {
"type": "Transitive",
"resolved": "3.26.1",
Expand Down Expand Up @@ -555,6 +572,7 @@
"Autofac.Extensions.DependencyInjection": "[9.0.0, )",
"CommunityToolkit.Diagnostics": "[8.2.2, )",
"EFCore.NamingConventions": "[8.0.3, )",
"EntityFrameworkCore.Exceptions.PostgreSQL": "[8.1.2, )",
"Microsoft.EntityFrameworkCore": "[8.0.4, )",
"Microsoft.Extensions.Hosting": "[8.0.0, )",
"NLog.Extensions.Logging": "[5.3.11, )",
Expand Down
18 changes: 18 additions & 0 deletions c#/imagePipeline/packages.lock.json
Expand Up @@ -145,6 +145,23 @@
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"EntityFrameworkCore.Exceptions.Common": {
"type": "Transitive",
"resolved": "8.1.2",
"contentHash": "Yy1qw+mdXhHyptH42o2suEaNDZlcmwiaQZ56v8tUVUxUq33GQSYyTJ6wE2WuB2AjunTa4tPhieu2E+m6z/GcTg==",
"dependencies": {
"Microsoft.EntityFrameworkCore.Relational": "8.0.0"
}
},
"EntityFrameworkCore.Exceptions.PostgreSQL": {
"type": "Transitive",
"resolved": "8.1.2",
"contentHash": "SIIHSTcfN04sCY5YMC3azD3lTvGLIT+VjO5/8zaqSqxzAvAaJ9x7ZVr5M6j8ORAxeezIe9+X/XRRZ+mRNbM89w==",
"dependencies": {
"EntityFrameworkCore.Exceptions.Common": "8.1.2",
"Npgsql": "8.0.1"
}
},
"Microsoft.Bcl.AsyncInterfaces": {
"type": "Transitive",
"resolved": "7.0.0",
Expand Down Expand Up @@ -903,6 +920,7 @@
"Autofac.Extensions.DependencyInjection": "[9.0.0, )",
"CommunityToolkit.Diagnostics": "[8.2.2, )",
"EFCore.NamingConventions": "[8.0.3, )",
"EntityFrameworkCore.Exceptions.PostgreSQL": "[8.1.2, )",
"Microsoft.EntityFrameworkCore": "[8.0.4, )",
"Microsoft.Extensions.Hosting": "[8.0.0, )",
"NLog.Extensions.Logging": "[5.3.11, )",
Expand Down
18 changes: 18 additions & 0 deletions c#/shared/packages.lock.json
Expand Up @@ -38,6 +38,16 @@
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"EntityFrameworkCore.Exceptions.PostgreSQL": {
"type": "Direct",
"requested": "[8.1.2, )",
"resolved": "8.1.2",
"contentHash": "SIIHSTcfN04sCY5YMC3azD3lTvGLIT+VjO5/8zaqSqxzAvAaJ9x7ZVr5M6j8ORAxeezIe9+X/XRRZ+mRNbM89w==",
"dependencies": {
"EntityFrameworkCore.Exceptions.Common": "8.1.2",
"Npgsql": "8.0.1"
}
},
"Microsoft.EntityFrameworkCore": {
"type": "Direct",
"requested": "[8.0.4, )",
Expand Down Expand Up @@ -109,6 +119,14 @@
"resolved": "6.0.1",
"contentHash": "vHJgD77xAb2852WhvJ8lC+ztYw475jG4/9MvOaXl+mCM5S/TSPdAAUEBmYDcawoN/RbtdjUdfMS0IRqyZSqEYw=="
},
"EntityFrameworkCore.Exceptions.Common": {
"type": "Transitive",
"resolved": "8.1.2",
"contentHash": "Yy1qw+mdXhHyptH42o2suEaNDZlcmwiaQZ56v8tUVUxUq33GQSYyTJ6wE2WuB2AjunTa4tPhieu2E+m6z/GcTg==",
"dependencies": {
"Microsoft.EntityFrameworkCore.Relational": "8.0.0"
}
},
"Microsoft.EntityFrameworkCore.Abstractions": {
"type": "Transitive",
"resolved": "8.0.4",
Expand Down
1 change: 1 addition & 0 deletions c#/shared/tbm.Shared.csproj
Expand Up @@ -4,6 +4,7 @@
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.2.2" />
<PackageReference Include="EFCore.NamingConventions" Version="8.0.3" />
<PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="8.1.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.4" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.11" />
Expand Down

0 comments on commit 8ee3dd1

Please sign in to comment.