Skip to content

Commit

Permalink
feat: Added support to .NET 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonBN committed Nov 9, 2022
1 parent eac2f55 commit 1e825e4
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:


env:
SDK_VERSION: '6.0.402'
SDK_VERSION: '7.0.100'

GIT_ORGANIZATION: 'TechNobre'
PROJECT_NAME: 'PowerUtils.Results'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:


env:
SDK_VERSION: '6.0.402'
SDK_VERSION: '7.0.100'
PACKAGE_PATH: ./src/**/*.nupkg
NUGET_SERVER: https://api.nuget.org/v3/index.json

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:


env:
SDK_VERSION: '6.0.402'
SDK_VERSION: '7.0.100'


jobs:
Expand All @@ -40,7 +40,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: "Cache SonarCloud packages"
uses: actions/cache@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:


env:
SDK_VERSION_7: '7.0.100'
SDK_VERSION_6: '6.0.402'
SDK_VERSION_5: '5.0.408'
TEST_RESULTS_DIRECTORY: './TestResults'
Expand All @@ -30,6 +31,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
${{ env.SDK_VERSION_7 }}
${{ env.SDK_VERSION_6 }}
${{ env.SDK_VERSION_5 }}
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "6.0.402"
"version": "7.0.100"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net7.0</TargetFrameworks>

<RootNamespace>PowerUtils.Results.MediatR.Samples</RootNamespace>
<AssemblyName>PowerUtils.Results.MediatR.Samples</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion samples/PowerUtils.Results.Samples/Samples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net7.0</TargetFrameworks>

<RootNamespace>PowerUtils.Results.Samples</RootNamespace>
<AssemblyName>PowerUtils.Results.Samples</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/PowerUtils.Results.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- Assembly and projecto details -->
<!-- https://docs.microsoft.com/en-us/dotnet/standard/frameworks -->
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>
<TargetFrameworks>net7.0;net6.0;net5.0</TargetFrameworks>


<AssemblyName>PowerUtils.Results</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>
<TargetFrameworks>net7.0;net6.0;net5.0</TargetFrameworks>

<RootNamespace>PowerUtils.Results.Benchmarks</RootNamespace>
<AssemblyName>PowerUtils.Results.Benchmarks</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>
<TargetFrameworks>net7.0;net6.0;net5.0</TargetFrameworks>

<RootNamespace>PowerUtils.Results.Tests</RootNamespace>
<AssemblyName>PowerUtils.Results.Tests</AssemblyName>
Expand Down

0 comments on commit 1e825e4

Please sign in to comment.