Skip to content

Commit 5b75555

Browse files
committed
Try to split it into two separate runs, specifying projects
1 parent 69665f5 commit 5b75555

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,24 @@ jobs:
2323
8.0.x
2424
9.0.x
2525
- name: Restore dependencies
26-
run: dotnet restore
26+
run: dotnet restore src/SlowDown/Libexec.AspNetCore.SlowDown.csproj
2727
- name: Build
28-
run: dotnet build --no-restore
28+
run: dotnet build src/SlowDown/Libexec.AspNetCore.SlowDown.csproj --no-restore
29+
30+
test:
31+
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- uses: actions/checkout@v4
36+
- name: Setup .NET
37+
uses: actions/setup-dotnet@v4
38+
with:
39+
dotnet-version: |
40+
9.0.x
41+
- name: Restore dependencies
42+
run: dotnet restore test/SlowDown.Tests/SlowDown.Tests.csproj
43+
- name: Build
44+
run: dotnet build test/SlowDown.Tests/SlowDown.Tests.csproj --no-restore
2945
- name: Test
3046
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)