Skip to content

Add new options for formatting to ScriptGeneratorOptions #95

Add new options for formatting to ScriptGeneratorOptions

Add new options for formatting to ScriptGeneratorOptions #95

Workflow file for this run

name: pr-validation
on:
pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v2
with:
global-json-file: global.json
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build dirs.proj
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
needs: build
steps:
- uses: actions/checkout@v2
- name: Disable strong name validation
if: matrix.os == 'windows-latest'
shell: pwsh
run: |
.\disableStrongName.ps1
- name: Run tests Windows
if: matrix.os == 'windows-latest'
run: dotnet test
- name: Run tests Linux
if: matrix.os == 'ubuntu-latest'
run: dotnet test /p:TargetFramework=net8.0