generated from dailydevops/dotnet-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 896 Bytes
/
cicd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build & Tests
on:
push:
branches: [ main ]
paths:
- eng/**/*
- src/**/*
- Directory.*.*
pull_request:
branches: [ main ]
paths:
- eng/**/*
- src/**/*
- Directory.*.*
workflow_dispatch:
inputs:
dotnet-logging:
required: true
type: choice
default: minimal
options:
- quiet
- minimal
- normal
- detailed
- diagnostic
jobs:
all:
name: Build & Tests
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@main
with:
enableSonarQube: true
dotnet-logging: ${{ inputs.dotnet-logging }}
dotnet-version: ${{ vars.NE_DOTNET_TARGETFRAMEWORKS }}
dotnet-quality: ${{ vars.NE_DOTNET_QUALITY }}
dotnet-testfilter: ${{ vars.NE_DOTNET_TESTFILTER }}
solution: ./HealthChecks.sln
secrets: inherit