Skip to content

Merge pull request #21 from microsoft/users/prnikumb/unifiedfic #42

Merge pull request #21 from microsoft/users/prnikumb/unifiedfic

Merge pull request #21 from microsoft/users/prnikumb/unifiedfic #42

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-code-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore src/sdk/Microsoft.UnifiedRedisPlatform.SDK.sln
- name: Build
run: dotnet build src/sdk/Microsoft.UnifiedRedisPlatform.SDK.sln --no-restore
- name: Test
run: dotnet test src/sdk/Microsoft.UnifiedRedisPlatform.SDK.sln --no-build --verbosity normal
build-service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Restore dependencies
run: dotnet restore src/service/Microsoft.UnifiedRedisPlatform.Service/Microsoft.UnifiedRedisPlatform.Service.sln
- name: Build
run: dotnet build src/service/Microsoft.UnifiedRedisPlatform.Service/Microsoft.UnifiedRedisPlatform.Service.sln
build-test-apps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies (TestConsoleCore.SDK)
run: dotnet restore src/tests/Microsoft.UnifiedRedisPlatform.TestApps/TestConsoleCore.SDK/Microsoft.UnifiedRedisPlatform.TestConsoleCore.SDK.csproj
- name: Build (TestConsoleCore.SDK)
run: dotnet build src/tests/Microsoft.UnifiedRedisPlatform.TestApps/TestConsoleCore.SDK/Microsoft.UnifiedRedisPlatform.TestConsoleCore.SDK.csproj
- name: Restore dependencies (TestWebAppCore.SDK)
run: dotnet restore src/tests/Microsoft.UnifiedRedisPlatform.TestApps/TestWebAppCore.SDK/Microsoft.UnifiedRedisPlatform.TestWebAppCore.SDK.csproj
- name: Build (TestWebAppCore.SDK)
run: dotnet build src/tests/Microsoft.UnifiedRedisPlatform.TestApps/TestWebAppCore.SDK/Microsoft.UnifiedRedisPlatform.TestWebAppCore.SDK.csproj