Skip to content

Reduce heap allocation of the default log message formatting logic in the FileLogger.Log #36

Reduce heap allocation of the default log message formatting logic in the FileLogger.Log

Reduce heap allocation of the default log message formatting logic in the FileLogger.Log #36

Workflow file for this run

name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
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 test -property:TargetFrameworks=net8.0
- name: Build Lib
run: dotnet build src/NReco.Logging.File -property:TargetFrameworks=net8.0 --no-restore
- name: Build
run: dotnet build test -property:TargetFramework=net8.0 --no-restore
- name: Test
run: dotnet test test -property:TargetFramework=net8.0 --no-build --verbosity normal