Skip to content

Set ado-build.yml to trigger CI on merge to main #13

Set ado-build.yml to trigger CI on merge to main

Set ado-build.yml to trigger CI on merge to main #13

Workflow file for this run

name: Build and Test
on:
pull_request:
branches: [ "main" ]
jobs:
build:
name: Run
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
# GitHelper unit test requires full clone, not the shallow default of GitHub Actions
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'
- name: Show dotnet info
run: dotnet --info
- name: Build and Test
# NoFormat because there is a separate format check action
run: ./BuildAndTest.cmd -NoFormat