Skip to content

Merge branch 'neozhu:main' into main #15

Merge branch 'neozhu:main' into main

Merge branch 'neozhu:main' into main #15

Workflow file for this run

# 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: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
sqldb:
image: mcr.microsoft.com/mssql/server
ports:
- 1433:1433
env:
SA_PASSWORD: Your_password123
ACCEPT_EULA: Y
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore CleanArchitecture.Blazor.sln
- name: Build
run: dotnet build CleanArchitecture.Blazor.sln --configuration Debug --no-restore
# - name: Test
# run: dotnet test CleanArchitecture.Blazor.sln --no-build --configuration Release --filter "FullyQualifiedName!~AcceptanceTests"
env:
DatabaseSettings__DBProvider: mssql
ConnectionStrings__ConnectionString: Server=sqldb;Database=BlazorDashboardDb.Test;User=sa;Password=Your_password123;MultipleActiveResultSets=true;Encrypt=false;