Skip to content

Commit

Permalink
bump: .net 8
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshKeegan committed Nov 15, 2023
1 parent 6197679 commit 9060d3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
ci_build:
name: CI Build
runs-on: ubuntu-latest
container: joshkeegan/dotnet-mixed-build:6.1
container: joshkeegan/dotnet-mixed-build:7.0
steps:
- name: Checkout
uses: actions/checkout@v3
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;net48</TargetFrameworks>
<TargetFrameworks>net8.0;net48</TargetFrameworks>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions test/UnitTests/Exceptions/SkipTestExceptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public void Serialisation_RoundTrip_RetainsData()

// Act
SkipTestException actual;
#pragma warning disable SYSLIB0011 // Type or member is obsolete
#pragma warning disable 618
BinaryFormatter formatter = new BinaryFormatter();
using (MemoryStream s = new MemoryStream())
{
#pragma warning disable SYSLIB0011 // Type or member is obsolete
#pragma warning disable 618
formatter.Serialize(s, expected);
s.Position = 0;
actual = (SkipTestException) formatter.Deserialize(s);
Expand Down
2 changes: 1 addition & 1 deletion test/UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net48</TargetFrameworks>
<TargetFrameworks>net8.0;net48</TargetFrameworks>

<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
Expand Down

0 comments on commit 9060d3f

Please sign in to comment.