Skip to content

Commit

Permalink
Merge pull request #93 from delegateas/dev
Browse files Browse the repository at this point in the history
fix: Re-added netcoreapp3.1
  • Loading branch information
thygesteffensen authored Nov 17, 2022
2 parents d41f91d + 8c406d2 commit d389141
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Testing
strategy:
matrix:
dotnet: [ 'net6.0', 'net7.0' ]
dotnet: [ 'netcoreapp3.1', 'net6.0', 'net7.0' ]
steps:
- name: Checkout code base
uses: actions/checkout@v2
Expand All @@ -30,7 +30,7 @@ jobs:
name: Building
strategy:
matrix:
dotnet: [ 'net6.0', 'net7.0' ]
dotnet: [ 'netcoreapp3.1', 'net6.0', 'net7.0' ]
steps:
- name: Checkout code base
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Testing
strategy:
matrix:
dotnet: [ 'net6.0', 'net7.0' ]
dotnet: [ 'netcoreapp3.1', 'net6.0', 'net7.0' ]
steps:
- name: Checkout code base
uses: actions/checkout@v2
Expand Down
8 changes: 7 additions & 1 deletion ExpressionEngine/ExpressionEngine.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>

<PackageId>Delegate.ExpressionEngine</PackageId>
<Authors>Delegate A/S,thygesteffensen</Authors>
Expand All @@ -11,6 +11,12 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.31" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Sprache" Version="2.3.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
Expand Down
1 change: 0 additions & 1 deletion ExpressionEngine/ExpressionGrammar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ExpressionEngine.Functions.Base;
using ExpressionEngine.Rules;
using Sprache;

Expand Down
13 changes: 12 additions & 1 deletion Test/Test.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.31" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="NUnit" Version="3.9.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
Expand Down

0 comments on commit d389141

Please sign in to comment.