Skip to content

Users/v cuggam/cgbugfix #31

Users/v cuggam/cgbugfix

Users/v cuggam/cgbugfix #31

Workflow file for this run

# This is a workflow to check the validity of the build after every check-in
name: Gated-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Latest
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.x
- name: Install dependencies
run: dotnet restore **/AppInsights.EnterpriseTelemetry.AspNetCore.Extension.sln
- name: Build
run: dotnet build **/AppInsights.EnterpriseTelemetry.AspNetCore.Extension.sln --configuration Release --no-restore
- name: Test
run: dotnet test **/AppInsights.EnterpriseTelemetry.AspNetCore.Extension.sln --no-restore --verbosity normal