Skip to content

Merge pull request #40 from Ali-YousefiTelori/develop #80

Merge pull request #40 from Ali-YousefiTelori/develop

Merge pull request #40 from Ali-YousefiTelori/develop #80

name: Windows (dotnet build and test)
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
os-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
6.0.x
8.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