Skip to content

Commit b3e89a3

Browse files
committed
Update dotnet-deployment.yml to specify project paths for restore, build, and test steps
1 parent 6d72b8b commit b3e89a3

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.github/workflows/dotnet-deployment.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,25 @@ name: .NET
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: ["main"]
99
paths: src/Application/**
1010
pull_request:
11-
branches: [ "main" ]
11+
branches: ["main"]
1212
paths: src/Application/**
1313

1414
jobs:
1515
build:
16-
1716
runs-on: ubuntu-latest
1817

1918
steps:
20-
- uses: actions/checkout@v4
21-
- name: Setup .NET
22-
uses: actions/setup-dotnet@v4
23-
with:
24-
dotnet-version: 8.0.x
25-
- name: Restore dependencies
26-
run: dotnet restore
27-
- name: Build
28-
run: dotnet build --no-restore
29-
- name: Test
30-
run: dotnet test --no-build --verbosity normal
19+
- uses: actions/checkout@v4
20+
- name: Setup .NET
21+
uses: actions/setup-dotnet@v4
22+
with:
23+
dotnet-version: 8.0.x
24+
- name: Restore dependencies
25+
run: dotnet restore src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
26+
- name: Build
27+
run: dotnet build --no-restore src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
28+
- name: Test
29+
run: dotnet test --no-build --verbosity normal src/Application/tests/RazorPagesTestSample.Tests/RazorPagesTestSample.Tests.csproj

0 commit comments

Comments
 (0)