We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b38db commit 755bea6Copy full SHA for 755bea6
.github/workflows/dotnet.yml
@@ -1,13 +1,15 @@
1
-# This workflow will build a .NET project
2
-# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
-
4
-name: .NET
+name: Build & Test
5
6
on:
7
push:
8
- branches: [ "main" ]
+ paths:
+ - 'src/**'
+ - '.github/workflows/**'
+ branches: [ main ]
9
pull_request:
10
11
12
13
14
jobs:
15
build:
@@ -21,8 +23,11 @@ jobs:
21
23
with:
22
24
dotnet-version: 8.0.x
25
- name: Restore dependencies
26
+ working-directory: ./src
27
run: dotnet restore
28
- name: Build
29
30
run: dotnet build --no-restore
31
- name: Test
32
33
run: dotnet test --no-build --verbosity normal
0 commit comments