Skip to content

Commit

Permalink
drop netcoreapp3.1 support; add support for net6.0 and net7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thefringeninja committed Nov 10, 2022
1 parent 663abbf commit 5958dd4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
framework: [netcoreapp3.1, net5.0, net48]
framework: [net48, net5.0, net6.0, net7.0]
os: [ubuntu-latest]
test: [""]
configuration: [release]
Expand All @@ -39,15 +39,13 @@ jobs:
- name: Pull EventStore Image
run: |
docker pull ghcr.io/eventstore/eventstore:${{ matrix.docker-tag }}
- name: Install netcoreapp3.1
uses: actions/setup-dotnet@v1
if: matrix.framework == 'netcoreapp3.1'
- name: Install dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x
- name: Install net5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
dotnet-version: |
5.0.x
6.0.x
7.0.x
- name: Restore
run: |
dotnet restore
Expand Down Expand Up @@ -96,14 +94,13 @@ jobs:
dotnet tool restore
version=$(dotnet tool run minver -- --tag-prefix=v)
echo "::set-output name=version::${version}"
- name: Install netcoreapp3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Install net5.0
uses: actions/setup-dotnet@v1
- name: Install dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x
dotnet-version: |
5.0.x
6.0.x
7.0.x
- name: Dotnet Pack
run: |
dotnet pack /p:Version=${{ steps.get_version.outputs.version }} --configuration=Release --output=./packages \
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<TargetFrameworks>netcoreapp3.1;net48;net5.0</TargetFrameworks>
<TargetFrameworks>net48;net5.0;net6.0;net7.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<RootNamespace>EventStore.ClientAPI</RootNamespace>
<UseLinkBase>true</UseLinkBase>
Expand Down
9 changes: 5 additions & 4 deletions test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
<UseLinkBase>true</UseLinkBase>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Ductus.FluentDocker" Version="2.10.7"/>
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1"/>
<PackageReference Include="Ductus.FluentDocker" Version="2.10.57"/>
<PackageReference Include="GitHubActionsTestLogger" Version="1.2.0"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0"/>
<PackageReference Include="Polly" Version="7.2.1"/>
<PackageReference Include="xunit" Version="2.4.1"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="xunit" Version="2.4.2"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 5958dd4

Please sign in to comment.