-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 1.08 KB
/
dotnet-linux.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
name: Linux (dotnet build and test)
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
os-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore dependencies
run: |
dotnet restore ./src/CSharp/Blazor/EasyMicroservices.UI.TemplateGenerator.Blazor.sln
dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.Core.sln
- name: Build
run: |
dotnet build ./src/CSharp/Blazor/EasyMicroservices.UI.TemplateGenerator.Blazor.sln --no-restore
dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.Core.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/Blazor/EasyMicroservices.UI.TemplateGenerator.Blazor.sln --no-build --verbosity normal
dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.Core.sln --no-build --verbosity normal