Reduce heap allocation of the default log message formatting logic in the FileLogger.Log #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |