Set product info in DI instead of Rest Client (#1855) #3518
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: Gated-Ubuntu | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
build_ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dorny/[email protected] | |
id: filter | |
with: | |
filters: | | |
src: | |
- 'src/**' | |
- 'test/**' | |
- 'build/**' | |
- 'samples/**' | |
- '*.cmd' | |
- '*.ps1' | |
- '**.props' | |
- '**.csproj' | |
- '**.targets' | |
- '*.sh' | |
- '*.sln' | |
- name: Update SubModules | |
run: git submodule update --init --recursive | |
if: steps.filter.outputs.src == 'true' | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: | | |
7.0.x | |
6.0.x | |
5.0.x | |
include-prerelease: true | |
- name: Build with dotnet | |
run: "dotnet build AzureSignalR.sln /p:DisableNet461Tests=true" | |
if: steps.filter.outputs.src == 'true' | |
- name: Test | |
run: "dotnet test --no-build" | |
if: steps.filter.outputs.src == 'true' |