Skip to content

Commit

Permalink
Merge pull request #294 from Lombiq/issue/OSOE-864
Browse files Browse the repository at this point in the history
OSOE-864: Adding Validate NuGet Publish workflow
  • Loading branch information
Piedone authored Nov 5, 2024
2 parents 2c78e1a + cf6bf9c commit 95704a3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/validate-nuget-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Validate NuGet Publish

on:
pull_request:
push:
branches:
- dev

jobs:
validate-nuget-publish:
name: Validate NuGet Publish
uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev
25 changes: 25 additions & 0 deletions Lombiq.HelpfulLibraries.OrchardCore/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions.AuthorizeForCurrentUserAndExecuteAsync``1(Microsoft.AspNetCore.Authorization.IAuthorizationService,Microsoft.AspNetCore.Mvc.Controller,System.Collections.Generic.IEnumerable{OrchardCore.Security.Permissions.Permission},System.Func{System.Threading.Tasks.Task{``0}},System.String,System.Boolean)</Target>
<Left>lib/net8.0/Lombiq.HelpfulLibraries.OrchardCore.dll</Left>
<Right>lib/net8.0/Lombiq.HelpfulLibraries.OrchardCore.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions.AuthorizeForCurrentUserValidateAndExecuteAsync``2(Microsoft.AspNetCore.Authorization.IAuthorizationService,Microsoft.AspNetCore.Mvc.Controller,System.Collections.Generic.IEnumerable{OrchardCore.Security.Permissions.Permission},System.Func{System.Threading.Tasks.Task{System.ValueTuple{System.Boolean,``0}}},System.Func{``0,System.Threading.Tasks.Task{``1}},System.String,System.Boolean)</Target>
<Left>lib/net8.0/Lombiq.HelpfulLibraries.OrchardCore.dll</Left>
<Right>lib/net8.0/Lombiq.HelpfulLibraries.OrchardCore.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<Suppression>
<DiagnosticId>CP0002</DiagnosticId>
<Target>M:Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions.AuthorizeForCurrentUserValidateNotNullAndExecuteAsync``2(Microsoft.AspNetCore.Authorization.IAuthorizationService,Microsoft.AspNetCore.Mvc.Controller,System.Collections.Generic.IEnumerable{OrchardCore.Security.Permissions.Permission},System.Func{System.Threading.Tasks.Task{``0}},System.Func{``0,System.Threading.Tasks.Task{``1}},System.String,System.Boolean)</Target>
<Left>lib/net8.0/Lombiq.HelpfulLibraries.OrchardCore.dll</Left>
<Right>lib/net8.0/Lombiq.HelpfulLibraries.OrchardCore.dll</Right>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
</Suppressions>

0 comments on commit 95704a3

Please sign in to comment.