Bump NSubstitute from 5.1.0 to 5.3.0 (#543) #287
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: Benchmark | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
benchmark: | |
name: Short | |
runs-on: ubuntu-latest | |
services: | |
clickhouse: | |
image: clickhouse/clickhouse-server:latest | |
ports: | |
- 8123:8123 | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
- uses: actions/cache@v4 | |
name: Cache NuGet | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
6.x | |
8.x | |
- name: Run | |
run: dotnet run --project ClickHouse.Client.Benchmark/ClickHouse.Client.Benchmark.csproj --framework net6.0 --configuration Release -- --join --filter "*" --artifacts . --job Short | |
env: | |
CLICKHOUSE_CONNECTION: Host=localhost;Port=8123 | |
- name: Post results to summary | |
run: cat results/*-report-github.md >> $GITHUB_STEP_SUMMARY |