Skip to content

Upgrade to .NET 8 and latest C# #480

Upgrade to .NET 8 and latest C#

Upgrade to .NET 8 and latest C# #480

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
DOTNET_VERSION: 8.0.x
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build project
run: dotnet build -c Release
- name: Run test cases
run: dotnet test -c Release --no-build
- name: Lint C# code
run: dotnet format --verify-no-changes --verbosity detailed --no-restore