Skip to content

Migrating from RapidBlazor template #12

Migrating from RapidBlazor template

Migrating from RapidBlazor template #12

name: Build and Run Test for Package
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@v4.0.0
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore CleanArchitecture.Blazored.Dev.sln
- name: Build solution
run: dotnet build --no-restore --verbosity normal CleanArchitecture.Blazored.Dev.sln -c Release
- name: Execute Application.UnitTest
run: dotnet test -c Release --no-build --verbosity normal content/CleanArchitecture.Blazored/tests/Application.UnitTests/Application.UnitTests.csproj
- name: Execute Domain.UnitTest
run: dotnet test -c Release --no-build --verbosity normal content/CleanArchitecture.Blazored/tests/Domain.UnitTests/Domain.UnitTests.csproj