Added CodeQL Tasks to Build Pipelines #952
Workflow file for this run
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: dotnet format | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-format: | |
runs-on: windows-latest | |
steps: | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Install dotnet-format tool | |
run: dotnet tool install -g dotnet-format | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run dotnet format | |
run: dotnet format '.\src\Microsoft.PowerApps.TestEngine' --verify-no-changes --severity warn |