feat: Retry write operation on GRPC exception #52
Workflow file for this run
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: Build PR's | |
on: | |
pull_request: | |
branches: [ master, main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run Tcp ESDB image | |
run: docker run -d --name tcp_esdbnode -it -p 2113:2113 -p 1113:1113 eventstore/eventstore:release-5.0.11 --runprojections all --startstandardprojections | |
- name: Run Grpc ESDB image | |
run: docker run -d --name grpc_esdbnode -it -p 2114:2113 -p 1114:1113 eventstore/eventstore:22.10.1-bionic --insecure --runprojections all --startstandardprojections | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: | | |
echo "$PATH" | |
dotnet restore | |
working-directory: ./src | |
- name: Build | |
run: dotnet build --no-restore /p:VersionPrefix=1.0.0 /p:VersionSuffix=testbuild | |
working-directory: ./src | |
- name: Test | |
run: dotnet test --no-build --verbosity minimal | |
working-directory: ./src | |