From 796f11d9d2bc339f93112b8c76ed81e9d1ab58d5 Mon Sep 17 00:00:00 2001 From: Giovanni Bassi Date: Tue, 12 Dec 2023 21:47:21 -0300 Subject: [PATCH] Update workflow to .NET 8 --- .github/workflows/dotnet.yml | 14 +++++++------- PartsUnlimited.sln | 10 ++++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7610b5d3b..7dae4170b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -2,9 +2,9 @@ name: .NET on: push: - branches: [ "update-net6" ] + branches: [ "update-net8" ] pull_request: - branches: [ "update-net6" ] + branches: [ "update-net8" ] jobs: build: @@ -12,14 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build --no-restore + run: dotnet build --no-restore PartsUnlimited.sln - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test --no-build PartsUnlimited.sln diff --git a/PartsUnlimited.sln b/PartsUnlimited.sln index 3e137a65a..7ca3d378c 100644 --- a/PartsUnlimited.sln +++ b/PartsUnlimited.sln @@ -28,6 +28,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution README.md = README.md EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{83EEAA93-75B1-43F1-BC6E-B41D5EFD0DDA}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{A29423BA-52B5-4822-9A52-399DFB810C56}" + ProjectSection(SolutionItems) = preProject + .github\workflows\dotnet.yml = .github\workflows\dotnet.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -62,6 +69,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {A29423BA-52B5-4822-9A52-399DFB810C56} = {83EEAA93-75B1-43F1-BC6E-B41D5EFD0DDA} + EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {1D80E9FF-8E56-419C-BDFA-87AA27E032C5} EndGlobalSection