Skip to content

Commit

Permalink
Update workflow to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Dec 13, 2023
1 parent a0531bb commit 796f11d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: .NET

on:
push:
branches: [ "update-net6" ]
branches: [ "update-net8" ]
pull_request:
branches: [ "update-net6" ]
branches: [ "update-net8" ]

jobs:
build:

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
10 changes: 10 additions & 0 deletions PartsUnlimited.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 796f11d

Please sign in to comment.