Skip to content

Commit 4e89295

Browse files
Merge pull request #42 from stefannikolei/sn/net8
Update testproject to net8 and c# to 12
2 parents c6fda62 + 9e1388e commit 4e89295

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
matrix:
1414
options:
1515
- os: ubuntu-latest
16-
framework: net6.0
16+
framework: net8.0
1717
runtime: -x64
1818
codecov: false
1919
- os: macos-latest
20-
framework: net6.0
20+
framework: net8.0
2121
runtime: -x64
2222
codecov: false
2323
- os: windows-latest
24-
framework: net6.0
24+
framework: net8.0
2525
runtime: -x64
2626
codecov: true
2727

@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/setup-dotnet@v3
5656
with:
5757
dotnet-version: |
58-
6.0.x
58+
8.0.x
5959
6060
- name: DotNet Build
6161
shell: pwsh

msbuild/props/SixLabors.Global.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
<!-- Compilation settings that explicitly differ from the Sdk.props/targets defaults -->
6464
<PropertyGroup>
65-
<LangVersion>10.0</LangVersion>
65+
<LangVersion>12.0</LangVersion>
6666
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6767
<Features>strict;IOperation</Features>
6868
<HighEntropyVA>true</HighEntropyVA>
@@ -115,7 +115,7 @@
115115

116116
<!-- Package references and additional files which are consumed by all projects. -->
117117
<ItemGroup>
118-
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" IsImplicitlyDefined="true">
118+
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507" IsImplicitlyDefined="true">
119119
<PrivateAssets>all</PrivateAssets>
120120
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
121121
</PackageReference>

msbuild/props/SixLabors.Src.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
<!-- Package references and additional files which are consumed by src projects. CI Only -->
5050
<ItemGroup Condition="'$(IsContinuousIntegration)'=='true'">
5151
<PackageReference Include="Microsoft.SourceLink.GitHub"
52-
Version="1.1.1"
52+
Version="8.0.0"
5353
PrivateAssets="All"
5454
IsImplicitlyDefined="true" />
55-
55+
5656
<PackageReference Include="MinVer"
5757
PrivateAssets="All"
58-
Version="4.1.0"
58+
Version="4.3.0"
5959
IsImplicitlyDefined="true"/>
6060
</ItemGroup>
6161

msbuild/props/SixLabors.Tests.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111

1212
<!-- Package references and additional files which are consumed by test projects -->
1313
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
14-
<PackageReference Include="xunit" Version="2.4.2" IsImplicitlyDefined="true" />
14+
<PackageReference Include="xunit" Version="2.6.2" IsImplicitlyDefined="true" />
1515

1616
<PackageReference Include="coverlet.collector"
17-
Version="3.1.2"
17+
Version="6.0.0"
1818
PrivateAssets="All"
1919
IsImplicitlyDefined="true"
2020
Condition="'$(IsCodeCoverage)'=='true'"/>
2121

2222
<PackageReference Include="Microsoft.NET.Test.Sdk"
23-
Version="17.4.1"
23+
Version="17.8.0"
2424
IsImplicitlyDefined="true"/>
2525

2626
<PackageReference Include="xunit.runner.visualstudio"
27-
Version="2.4.5"
27+
Version="2.5.4"
2828
IsImplicitlyDefined="true" />
2929

3030
<Using Include="Xunit" Condition="'$(ImplicitUsings)'=='enable' OR '$(ImplicitUsings)'=='true'"/>

tests/SharedInfrastructure.Tests/SharedInfrastructure.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;</TargetFrameworks>
4+
<TargetFrameworks>net8.0;</TargetFrameworks>
55
<AssemblyName>SharedInfrastructure.Tests</AssemblyName>
66
<RootNamespace>SharedInfrastructure.Tests</RootNamespace>
77
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)