diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnet-build.yml similarity index 77% rename from .github/workflows/dotnetcore.yml rename to .github/workflows/dotnet-build.yml index 13b6e93..7469959 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnet-build.yml @@ -1,4 +1,4 @@ -name: .NET Core +name: .NET build on: push: @@ -14,10 +14,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET Core + - name: Setup .NET uses: actions/setup-dotnet@v4.0.0 with: - dotnet-version: 3.1.100 + dotnet-version: 8.x + dotnet-quality: 'ga' - name: Build with dotnet run: dotnet build --configuration Release - name: Test with dotnet diff --git a/PVOutput.Net.sln b/PVOutput.Net.sln index f30fdb9..eefd75b 100644 --- a/PVOutput.Net.sln +++ b/PVOutput.Net.sln @@ -10,8 +10,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project files", "Project files", "{0BCF7233-827B-4A45-8FB8-CDE08CB4B9AE}" ProjectSection(SolutionItems) = preProject CHANGELOG.md = CHANGELOG.md - CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md codecov.yml = codecov.yml + CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md CONTRIBUTING.md = CONTRIBUTING.md .github\dependabot.yml = .github\dependabot.yml LICENSE = LICENSE @@ -28,8 +28,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{ .github\workflows\codecov.yml = .github\workflows\codecov.yml .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml .github\workflows\docfx.yml = .github\workflows\docfx.yml - .github\workflows\dotnetcore.yml = .github\workflows\dotnetcore.yml .github\workflows\publish-nuget.yml = .github\workflows\publish-nuget.yml + .github\workflows\dotnet-build.yml = .github\workflows\dotnet-build.yml EndProjectSection EndProject Global diff --git a/tests/PVOutput.Net.Tests/PVOutput.Net.Tests.csproj b/tests/PVOutput.Net.Tests/PVOutput.Net.Tests.csproj index 42ada72..c4a5d44 100644 --- a/tests/PVOutput.Net.Tests/PVOutput.Net.Tests.csproj +++ b/tests/PVOutput.Net.Tests/PVOutput.Net.Tests.csproj @@ -1,6 +1,6 @@ - netcoreapp3.1 + net8.0 ..\..\artifacts\ @@ -11,7 +11,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/PVOutput.Net.Tests/packages.config b/tests/PVOutput.Net.Tests/packages.config index 057c2df..4080f7e 100644 --- a/tests/PVOutput.Net.Tests/packages.config +++ b/tests/PVOutput.Net.Tests/packages.config @@ -1,6 +1,6 @@ - + \ No newline at end of file