Skip to content

Commit

Permalink
[CI] Ignore certain nuget rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed Jun 12, 2024
1 parent 0aeb168 commit 9d05efa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: Validate package
shell: pwsh
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg") --excluded-rules IconMustBeSet

github-publish:
needs: [ build, validate-nuget ]
Expand Down
13 changes: 12 additions & 1 deletion Marille/Marille.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -16,6 +18,7 @@
<Copyright>Manuel de la Peña Saenz</Copyright>
<Company>themacaque.com</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/mandel-macaque/marille</PackageProjectUrl>
<RepositoryUrl>https://github.com/mandel-macaque/marille</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>

Expand All @@ -26,10 +29,18 @@
Marille is thin layer on top of System.Threading.Channels that provides a in-process publisher/subscriber hub.
</Description>
<PackageTags>publisher;subscriber;pub/sub;channels;messaging queue;</PackageTags>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="/"/>
<None Include="../README.md" Pack="true" PackagePath="/" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit 9d05efa

Please sign in to comment.