-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (31 loc) · 942 Bytes
/
build.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
41
name: build
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['9.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build Core
run: dotnet build src/Danom -c Release
- name: Test Core
run: dotnet test test/Danom.Tests -c Release
- name: Build Validation
run: dotnet build src/Danom.Validation -c Release
- name: Test Validation
run: dotnet test test/Danom.Validation.Tests -c Release
- name: Build Mvc
run: dotnet build src/Danom.Mvc -c Release
- name: Test Mvc
run: dotnet test test/Danom.Mvc.Tests -c Release