This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
Add Polly rate limiter, add extensive error handling, AI tweaks, fixes, improve performance #139
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 and Test DeriSock Project | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- v* | |
pull_request: | |
branches: | |
- main | |
tags-ignore: | |
- v* | |
env: | |
ContinuousIntegrationBuild: true | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
id: nuget-package-cache | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: ${{ runner.os }}-nuget- | |
- name: dotnet restore | |
if: steps.nuget-package-cache.outputs.cache-hit != 'true' | |
run: dotnet restore | |
- name: dotnet build | |
run: dotnet build src/DeriSock --configuration Release | |
- name: dotnet test | |
run: | | |
dotnet test tests/DeriSock.Tests.Unit --configuration Release |