Skip to content

Upgrades the product to target .NET 8 (#23) #64

Upgrades the product to target .NET 8 (#23)

Upgrades the product to target .NET 8 (#23) #64

Workflow file for this run

name: Build
on:
push:
branches:
- main
- feature/*
pull_request:
branches:
- main
env:
SOURCE_DIRECTORY: './source'
RESULT_DIRECTORY: './output/result'
jobs:
Build:
runs-on: ubuntu-latest
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
env:
ACCEPT_EULA: YES
MSSQL_SA_PASSWORD: 4Laqzjn!LNYa@W63
MSSQL_PID: Developer
ports:
- "1433:1433"
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ${{env.SOURCE_DIRECTORY}}
- name: Build solution
run: dotnet build --configuration Debug --no-restore ${{env.SOURCE_DIRECTORY}}
- name: Verify solution
run: dotnet test --no-restore --verbosity normal --logger trx --results-directory ${{env.RESULT_DIRECTORY}} ${{env.SOURCE_DIRECTORY}}