From 99103e2f771549fecce16390f5bc949343554858 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 | 16 ++++++++-------- PartsUnlimited.sln | 10 ++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7610b5d3b..c87f1208b 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 + run: dotnet restore PartsUnlimited.sln - 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