-
Notifications
You must be signed in to change notification settings - Fork 3k
29 lines (28 loc) · 1.09 KB
/
kql-validations.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: KQL Validations
run-name: KQL Validations running on ${{ github.ref_name }}
on:
pull_request:
branches:
- master
# Allows to run workflow manually from the Actions tab
workflow_dispatch:
jobs:
KqlValidations:
runs-on: ubuntu-latest
env:
buildConfiguration: Release
dotnetSdkVersion: 6.0.x
PRNUM: ${{ github.event.pull_request.number }}
steps:
- uses: actions/checkout@v4
- name: Use .NET Core SDK ${{ env.dotnetSdkVersion }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.dotnetSdkVersion }}
- name: Run KQL Validation tests
run: dotnet test .script/tests/KqlvalidationsTests/Kqlvalidations.Tests.csproj --configuration ${{ env.buildConfiguration }}
env:
GITHUBAPPID: ${{ secrets.APPLICATION_ID }}
GITHUBAPPINSTALLATIONID: ${{ secrets.APPLICATION_INSTALLATION_ID }}
GITHUBAPPPRIVATEKEY: ${{ secrets.APPLICATION_PRIVATE_KEY }}
SYSTEM_PULLREQUEST_ISFORK: ${{ github.event.pull_request.head.repo.fork }}