Skip to content

Apply prettier esbenp.prettier-vscode #91

Apply prettier esbenp.prettier-vscode

Apply prettier esbenp.prettier-vscode #91

name: dotnet package
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: [ 6.0 ]
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