Update dependency Soenneker.Redis.Client.Server to v2.1.809 #997
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-and-test | |
on: | |
# Testing - run for any PRs. | |
pull_request: | |
branches: | |
- main | |
env: | |
"PipelineEnvironment": true | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
# Set health checks to wait until redis has started | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test test/Soenneker.Redis.Util.Server.Tests.csproj --no-restore --verbosity normal | |
- name: Pack | |
run: dotnet pack --no-build --configuration Release --output . |