-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (29 loc) · 1.09 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
name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: "Restore: Syllabore"
run: dotnet restore ./Syllabore/Syllabore/Syllabore.csproj
- name: "Build: Syllabore"
run: dotnet build ./Syllabore/Syllabore/Syllabore.csproj --no-restore
- name: "Restore: Syllabore.Example"
run: dotnet restore ./Syllabore/Syllabore.Example/Syllabore.Example.csproj
- name: "Build: Syllabore.Example"
run: dotnet build ./Syllabore/Syllabore.Example/Syllabore.Example.csproj --no-restore
- name: "Restore: Syllabore.Tests"
run: dotnet restore ./Syllabore/Syllabore.Tests/Syllabore.Tests.csproj
- name: "Build: Syllabore.Tests"
run: dotnet build ./Syllabore/Syllabore.Tests/Syllabore.Tests.csproj --no-restore
- name: "Run: Syllabore.Tests"
run: dotnet test ./Syllabore/Syllabore.Tests/Syllabore.Tests.csproj --no-build --verbosity normal