Skip to content

Commit 84d11fd

Browse files
committed
Address review feedback
- Update github actions versions - Add .NET 7.0 targets - Don't overwrite NoWarn
1 parent cade18d commit 84d11fd

21 files changed

Lines changed: 27 additions & 24 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v3
3333

3434
- name: Setup .NET Core
35-
uses: actions/setup-dotnet@v1
35+
uses: actions/setup-dotnet@v3
3636
with:
3737
dotnet-version: |
3838
3.1.x

.github/workflows/dotnetcore.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ jobs:
1212
build:
1313
runs-on: windows-latest
1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v3
1616

1717
- name: Setup .NET
18-
uses: actions/setup-dotnet@v1
18+
uses: actions/setup-dotnet@v3
1919
with:
20-
dotnet-version: 6.0.x
20+
dotnet-version: |
21+
6.0.x
22+
7.0.x
2123
2224
- name: Build
2325
run: dotnet build Source/OxyPlot.CI.sln --configuration Release

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
1717
- Remove support for .NET Core 3.1, as it is end-of-life soon (#1937)
1818
- Move example projects to .NET Framework 4.6.2 and .NET 6.0 (#1937)
1919
- Run tests on both .NET Framework 4.6.2 and .NET 6.0 (#1937)
20+
- Add support for .NET 7.0 (#1937)
2021

2122
### Removed
2223
- Support for .NET Framework 4.0 and 4.5 (#1839)

Source/Examples/ExampleGenerator/ExampleGenerator.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-windows</TargetFrameworks>
4+
<TargetFrameworks>net6.0-windows;net7.0-windows</TargetFrameworks>
55
<!--<UseWindowsForms>true</UseWindowsForms>-->
66
<OutputType>Exe</OutputType>
77
<ApplicationIcon />

Source/Examples/ExampleLibrary/ExampleLibrary.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0;net462;net6.0</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0;net462;net6.0;net7.0</TargetFrameworks>
44
<PackageId>OxyPlot.ExampleLibrary</PackageId>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<Description>Example models for OxyPlot.</Description>

Source/Examples/PerformanceTest/PerformanceTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;net6.0-windows;net7.0-windows</TargetFrameworks>
44
<OutputType>Exe</OutputType>
55
<ApplicationIcon />
66
<StartupObject />

Source/Examples/WPF/ExampleBrowser/ExampleBrowser.WPF.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;net6.0-windows;net7.0-windows</TargetFrameworks>
44
<UseWPF>true</UseWPF>
55
<OutputType>WinExe</OutputType>
66
<ApplicationManifest>app.manifest</ApplicationManifest>

Source/Examples/WPF/WpfExamples/WpfExamples.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;net6.0-windows;net7.0-windows</TargetFrameworks>
44
<UseWPF>true</UseWPF>
55
<UseWindowsForms>true</UseWindowsForms>
66
<OutputType>WinExe</OutputType>

Source/Examples/WindowsForms/ExampleBrowser/ExampleBrowser.WindowsForms.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;net6.0-windows;net7.0-windows</TargetFrameworks>
44
<UseWindowsForms>true</UseWindowsForms>
55
<OutputType>WinExe</OutputType>
66
</PropertyGroup>

Source/OxyPlot.ImageSharp.Tests/OxyPlot.ImageSharp.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net462;net6.0</TargetFrameworks>
3+
<TargetFrameworks>net462;net6.0;net7.0</TargetFrameworks>
44
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
55
<Description>OxyPlot ImageSharp unit tests</Description>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

0 commit comments

Comments
 (0)