-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (43 loc) · 1.39 KB
/
dotnet.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
# Source:
- name: Restore dependencies (ProfHeat.Core)
run: dotnet restore
working-directory: src/ProfHeat.Core
- name: Build (ProfHeat.Core)
run: dotnet build --no-restore
working-directory: src/ProfHeat.Core
- name: Restore dependencies (ProfHeat.AUI)
run: dotnet restore
working-directory: src/ProfHeat.AUI
- name: Build (ProfHeat.AUI)
run: dotnet build --no-restore
working-directory: src/ProfHeat.AUI
# Tests:
- name: Restore dependencies (ProfHeat.Core.Tests)
run: dotnet restore
working-directory: tests/ProfHeat.Core.Tests
- name: Test (ProfHeat.Core.Tests)
run: dotnet test
working-directory: tests/ProfHeat.Core.Tests
- name: Restore dependencies (ProfHeat.AUI.Tests)
run: dotnet restore
working-directory: tests/ProfHeat.AUI.Tests
- name: Test (ProfHeat.AUI.Tests)
run: dotnet test
working-directory: tests/ProfHeat.AUI.Tests