Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 5 additions & 21 deletions .github/workflows/build-validation.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
# This is a basic workflow to help you get started with Actions
name: Snippets 5000
name: 'Snippets 5000'

# Controls when the action will run. Triggers the workflow on push or pull request
# events on the main branch only.
on:
pull_request:
paths:
- "**.cs"
- "**.vb"
- "**.fs"
- "**.cpp"
- "**.h"
- "**.xaml"
- "**.razor"
- "**.cshtml"
- "**.vbhtml"
- "**.csproj"
- "**.vbproj"
- "**.fsproj"
- "**.vcxproj"
- "**.sln"
- "**global.json"
- "**snippets.5000.json"
pull_request_target:
branches: [ main ]
types: [opened, synchronize, reopened]

env:
DOTNET_INSTALLER_CHANNEL: '6.0'
Expand All @@ -31,8 +15,8 @@ env:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# This workflow contains a single job called "build-snippets"
build-snippets:
# The type of runner that the job will run on
runs-on: windows-latest

Expand Down