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

Net9 #219

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Net9 #219

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
10 changes: 5 additions & 5 deletions .github/workflows/pr_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
dotnet-version: [ '8.0', '9.0' ]

services:
fauna:
Expand All @@ -23,12 +23,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
run: dotnet restore --framework net${{ matrix.dotnet-version }}
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore --framework net${{ matrix.dotnet-version }}
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal --framework net${{ matrix.dotnet-version }}
3 changes: 2 additions & 1 deletion Fauna.Test/Fauna.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<PackageReference Include="nunit" Version="3.14.0" />
<PackageReference Include="nunit3testadapter" Version="4.5.0" />
<PackageReference Include="Polly" Version="8.3.0" />
<PackageReference Include="system.drawing.common" Version="8.0.10" />
</ItemGroup>
<ItemGroup>
<Content Include="Performance/setup/*">
Expand All @@ -31,7 +32,7 @@
<Folder Include="Types\" />
</ItemGroup>
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
3 changes: 3 additions & 0 deletions Fauna/Fauna.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
<NoWarn>CS8524</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.1" />
Expand Down
Loading