Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Csharp 9 #199

Merged
merged 8 commits into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

- uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'

- name: Download artifact
uses: dawidd6/action-download-artifact@v2
if: github.event.workflow_run.conclusion == 'success'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ci.yml
Expand All @@ -29,12 +35,13 @@ jobs:

- name: nuget.org
# continue-on-error: true
if: startsWith(github.ref, 'refs/tags/v')
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && startsWith(github.event.workflow_run.head_branch, 'v') # this is the best approximation for a tag
env:
ApiKey: ${{ secrets.RSG_NUGET_API_KEY }}
shell: pwsh
run: |
dotnet nuget push **/*.nupkg --skip-duplicate --api-key $ENV:ApiKey --source nuget.org
dotnet nuget push **/*.nupkg --skip-duplicate -s nuget.org --api-key $ENV:ApiKey
dotnet nuget push **/*.snupkg --skip-duplicate -s nuget.org --api-key $ENV:ApiKey

- name: dev.azure.com
# continue-on-error: true
Expand Down
4 changes: 3 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
<NoWarn>NU5105;CS0579;CS0436;$(NoWarn)</NoWarn>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<Features>strict</Features>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)/.tmp/packageicon.png" Condition="Exists('$(MSBuildThisFileDirectory)/.tmp/packageicon.png')" Pack="true" PackagePath="/images/" Visible="false"/>
<None Include="$(MSBuildThisFileDirectory)/.tmp/packageicon.png" Condition="Exists('$(MSBuildThisFileDirectory)/.tmp/packageicon.png')" Pack="true" PackagePath="/images/" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)/LICENSE" Pack="true" PackagePath="/" Visible="false"/>
</ItemGroup>
<ItemGroup>
Expand Down
56 changes: 29 additions & 27 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageVersion Include="GitVersion.Tool" Version="5.5.1" />
<PackageVersion Include="JetBrains.ReSharper.GlobalTools" Version="2020.2.4" />
<PackageVersion Include="Nuke.Common" Version="5.0.1" />
<PackageVersion Include="Nuke.Common" Version="5.0.2" />
<PackageVersion Include="ReportGenerator" Version="4.8.1" />
<PackageVersion Include="Rocket.Surgery.Nuke" Version="0.14.2" />
</ItemGroup>
Expand All @@ -38,47 +38,49 @@
<PackageVersion Include="MediatR" Version="9.0.0" />
<PackageVersion Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
<!-- <PackageVersion Include="MicroElements.Swashbuckle.FluentValidation" Version="4.0.0-rc.2" />-->
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="5.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="5.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.1" PrivateAssets="all" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.0" PrivateAssets="all" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.1" PrivateAssets="all" />
<PackageVersion Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageVersion Include="Microsoft.NET.Sdk.Functions" Version="3.0.11" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="5.0.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.1" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="5.0.1" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="5.0.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
<PackageVersion Include="Microsoft.Reactive.Testing" Version="5.0.0" />
<!-- <PackageVersion Include="Newtonsoft.Json" Version="12.0.3" />-->
<PackageVersion Include="NodaTime" Version="3.0.3" />
<PackageVersion Include="NodaTime.Serialization.JsonNet" Version="3.0.0" />
<PackageVersion Include="NodaTime.Serialization.SystemTextJson" Version="1.0.0" />
<PackageVersion Include="NodaTime.Testing" Version="3.0.3" />
<PackageVersion Include="Rocket.Surgery.Build.Information" Version="3.3.11" />
<PackageVersion Include="Rocket.Surgery.Conventions" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.Conventions.Abstractions" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.Conventions.Attributes" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.Extensions.AutoMapper.NodaTime" Version="8.0.0-beta.8" />
<PackageVersion Include="Rocket.Surgery.Extensions.AutoMapper.SystemTextJson" Version="8.0.0-beta.8" />
<PackageVersion Include="Rocket.Surgery.Extensions.AutoMapper.NewtonsoftJson" Version="8.0.0-beta.8" />
<PackageVersion Include="Rocket.Surgery.Conventions.AutoMapper" Version="8.0.0-beta.8" />
<PackageVersion Include="Rocket.Surgery.Hosting.TestHost" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.Conventions" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.Conventions.Abstractions" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.Conventions.Attributes" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.Extensions.AutoMapper.NodaTime" Version="8.0.1-beta.1" />
<PackageVersion Include="Rocket.Surgery.Extensions.AutoMapper.SystemTextJson" Version="8.0.1-beta.1" />
<PackageVersion Include="Rocket.Surgery.Extensions.AutoMapper.NewtonsoftJson" Version="8.0.1-beta.1" />
<PackageVersion Include="Rocket.Surgery.Conventions.AutoMapper" Version="8.0.1-beta.1" />
<PackageVersion Include="Rocket.Surgery.Hosting.TestHost" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.Extensions.Configuration" Version="11.0.1" />
<PackageVersion Include="Rocket.Surgery.Extensions.Configuration.Json" Version="11.0.1" />
<PackageVersion Include="Rocket.Surgery.Extensions.Configuration.Yaml" Version="11.0.1" />
<PackageVersion Include="Rocket.Surgery.DependencyInjection.Extensions" Version="11.0.1" />
<PackageVersion Include="Rocket.Surgery.Extensions" Version="11.0.1" />
<PackageVersion Include="Rocket.Surgery.Hosting.DryIoc" Version="0.2.0-beta.3" />
<PackageVersion Include="Rocket.Surgery.WebAssembly.Hosting.DryIoc" Version="0.2.0-beta.3" />
<PackageVersion Include="Rocket.Surgery.Hosting" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.Hosting.Abstractions" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.WebAssembly.Hosting" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.WebAssembly.Hosting.TestHost" Version="10.0.0-beta.98" />
<PackageVersion Include="Rocket.Surgery.Hosting.DryIoc" Version="0.2.0" />
<PackageVersion Include="Rocket.Surgery.WebAssembly.Hosting.DryIoc" Version="0.2.0" />
<PackageVersion Include="Rocket.Surgery.Hosting" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.Hosting.Abstractions" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.WebAssembly.Hosting" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.WebAssembly.Hosting.TestHost" Version="10.0.0" />
<PackageVersion Include="Rocket.Surgery.System" Version="11.0.1" />
<PackageVersion Include="Scrutor" Version="3.3.0" />
<PackageVersion Include="Serilog" Version="2.10.0" />
Expand All @@ -105,8 +107,8 @@
<PackageVersion Include="System.Text.Json" Version="5.0.0" />
<PackageVersion Include="System.Net.Http.Json" Version="5.0.0" />
<PackageVersion Include="NSwag.ApiDescription.Client" Version="13.9.4" />
<PackageVersion Include="Microsoft.Extensions.ApiDescription.Client" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.ApiDescription.Server" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.ApiDescription.Client" Version="5.0.1" />
<PackageVersion Include="Microsoft.Extensions.ApiDescription.Server" Version="5.0.1" />
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Bogus" Version="32.0.1" />
Expand All @@ -117,8 +119,8 @@
<PackageVersion Include="FluentAssertions" Version="5.10.3" />
<PackageVersion Include="FluentAssertions.Analyzers" Version="0.11.4" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageVersion Include="Rocket.Surgery.Extensions.Testing.FakeItEasy" Version="6.0.0" />
<PackageVersion Include="Rocket.Surgery.Extensions.Testing.XUnit" Version="6.0.0" />
<PackageVersion Include="Rocket.Surgery.Extensions.Testing.FakeItEasy" Version="6.0.1" />
<PackageVersion Include="Rocket.Surgery.Extensions.Testing.XUnit" Version="6.0.1" />
<PackageVersion Include="xunit" Version="2.4.1" />
<PackageVersion Include="xunit.analyzers" Version="0.10.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.3" />
Expand Down
Loading