Browse Source

Updating standard content files for repository

pull/440/head
Auto Contents 2 years ago
parent
commit
1b89e39e36
  1. 10
      .editorconfig
  2. 2
      .github/workflows/dotnet.yml
  3. 4
      .github/workflows/nuget.yml
  4. 1
      .gitignore
  5. 6
      Directory.Build.props

10
.editorconfig

@ -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

2
.github/workflows/dotnet.yml

@ -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

4
.github/workflows/nuget.yml

@ -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

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

6
Directory.Build.props

@ -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>

Loading…
Cancel
Save