New format config for skipping white spaces before and after block pa… #87
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 package | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
dotnet-version: ['3.0', '3.1.x', '5.0.x' ] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Setup Nuget | |
uses: NuGet/[email protected] | |
- name: Restore dependencies | |
run: nuget restore SqlFormatter.sln | |
- name: Check format | |
run: dotnet format --verify-no-changes | |
- name: Build | |
run: dotnet build | |
- name: Test | |
run: dotnet test |