Updating standard content files for repository

This commit is contained in:
Auto Contents 2023-08-18 17:01:11 +00:00
parent 6420364178
commit 1b89e39e36
5 changed files with 19 additions and 4 deletions

View File

@ -3,4 +3,12 @@
dotnet_diagnostic.CS4014.severity = error
# CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.CS1591.severity = silent
# C# styling
csharp_style_namespace_declarations=file_scoped:error
[*.{targets,csproj}]
tab_width=2
indent_style=space
indent_size=2

View File

@ -23,7 +23,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore

View File

@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v2
# We do not need to fetch tags, as we're already at a tagged build - it should be available automatically
- name: Setup .NET Core 5.0
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Pack
run: dotnet pack -c Release -o Build

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
.vs/
.idea/
bin/
obj/
Build/

View File

@ -44,6 +44,12 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>
<!-- Set copying files etc. to timeout faster -->
<PropertyGroup>
<CopyRetryCount>2</CopyRetryCount>
<CopyRetryDelayMilliseconds>500</CopyRetryDelayMilliseconds>
</PropertyGroup>
<!-- Ensure AssemblyInfo.cs can be included in <EmbedUntrackedSources> https://github.com/dotnet/sourcelink/issues/572 -->
<Target Name="_workaroundMsBuild1479" BeforeTargets="BeforeCompile" AfterTargets="GenerateAssemblyInfo"></Target>