Skip to content

FusionCache.CompleteBackgroundFactory => Using "GetAwaiter().GetResult()" instead of ".Result" #139

FusionCache.CompleteBackgroundFactory => Using "GetAwaiter().GetResult()" instead of ".Result"

FusionCache.CompleteBackgroundFactory => Using "GetAwaiter().GetResult()" instead of ".Result" #139

Workflow file for this run

name: Build and test
on:
pull_request:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
TEST_RESULTS: artifacts/tests
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- run: dotnet --info
- name: Build solution and run all tests
run: dotnet test --verbosity normal -l trx --results-directory '${{ env.TEST_RESULTS }}'
- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: ${{ success() || failure() }}
with:
files: '${{ env.TEST_RESULTS }}/*.trx'
check_name: "Test results"
report_individual_runs: true
action_fail: true
time_unit: milliseconds
#ignore_runs: true
compare_to_earlier_commit: false