Skip to content

Migrate to .NET 8

Migrate to .NET 8 #10

name: .NET Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "devlopment" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install .NET 8 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore projects
run: dotnet restore
- name: Check formatting
run: dotnet format --verify-no-changes
- name: Build projects
run: dotnet build --no-restore
- name: Run tests
run: dotnet test --no-build --verbosity normal