Skip to content

Commit

Permalink
Switch GitHub Actions build to net8
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliyMF committed Jun 4, 2024
1 parent b396154 commit 57f5fdf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore test -property:TargetFrameworks=net6.0
run: dotnet restore test -property:TargetFrameworks=net8.0
- name: Build Lib
run: dotnet build src/NReco.Logging.File -property:TargetFrameworks=net6.0 --no-restore
run: dotnet build src/NReco.Logging.File -property:TargetFrameworks=net8.0 --no-restore
- name: Build
run: dotnet build test -property:TargetFrameworks=net6.0 --no-restore
run: dotnet build test -property:TargetFrameworks=net8.0 --no-restore
- name: Test
run: dotnet test test -property:TargetFrameworks=net6.0 --no-build --verbosity normal
run: dotnet test test -property:TargetFrameworks=net8.0 --no-build --verbosity normal
8 changes: 4 additions & 4 deletions test/NReco.Logging.Tests/NReco.Logging.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>NReco.Logging.Tests</AssemblyName>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand All @@ -11,9 +11,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1" />
<PackageReference Include="xunit" Version="2.8.1" />
</ItemGroup>

</Project>

0 comments on commit 57f5fdf

Please sign in to comment.