Skip to content

Commit

Permalink
Build upgraded to use net8 in pipeline and version 3.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommi Golinelli committed Jan 17, 2024
1 parent 2977b70 commit e90f24c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet tool install --global coveralls.net
- name: Restore dependencies
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.6.{build}'
version: '3.0.{build}'
image: Visual Studio 2022

assembly_info:
Expand Down Expand Up @@ -41,8 +41,8 @@ build_script:
- cmd: dotnet build -c release ./src/ConsoleApplication

test_script:
- cmd: dotnet test ./src/TestProject/TestProject.csproj --settings ./src/TestProject/coverlet.runsettings -f "net6.0"
- vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\TestProject\bin\Debug\net6.0\TestProject.dll
- cmd: dotnet test ./src/TestProject/TestProject.csproj --settings ./src/TestProject/coverlet.runsettings -f "net8.0"
- vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\TestProject\bin\Debug\net8.0\TestProject.dll
- ps: copy ./src/TestProject/TestResults/**/coverage.opencover.xml ./src/TestProject/TestResults
- csmacnz.Coveralls.exe --opencover -i C:\projects\ipnetwork\src\TestProject\TestResults\coverage.opencover.xml --useRelativePaths

Expand Down
2 changes: 1 addition & 1 deletion src/BenchmarkProject/BenchmarkProject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/System.Net.IPNetwork/System.Net.IPNetwork.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageId>IPNetwork2</PackageId>
<PackageVersion>2.6.0</PackageVersion>
<PackageVersion>3.0.0</PackageVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageLicenseUrl>https://github.com/lduchosal/ipnetwork/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/lduchosal/ipnetwork</PackageProjectUrl>
Expand Down

0 comments on commit e90f24c

Please sign in to comment.