-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (35 loc) · 883 Bytes
/
validate.yaml
File metadata and controls
43 lines (35 loc) · 883 Bytes
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
41
42
43
name: C# SDK Validation
on:
pull_request:
branches: [master]
jobs:
validate:
runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# # dotnet: [ '3.1.x', '5.0.x' ]
# dotnet: [ '3.1.x' ]
name: Dotnet validation
steps:
- id: checkout
name: Checkout repo
uses: actions/checkout@v4
- id: setup-dotnet
name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
- id: clean
name: Clean
run: dotnet clean
- id: restore
name: Restore dependencies
run: dotnet restore
- id: build
name: Build
run: dotnet build --no-restore --configuration=Release
- id: test
name: Test
run: dotnet test --no-build --verbosity normal --configuration=Release