Skip to content

Change CI jobs to be based on paths #1768

Change CI jobs to be based on paths

Change CI jobs to be based on paths #1768

Workflow file for this run

name: CSharpier
on:
pull_request:
push:
branches:
- main
env:
HUSKY: 0
jobs:
csharpier:
name: CSharpier
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install tool dependencies
run: dotnet tool restore
- name: CSharpier check
run: |
dotnet csharpier --version
dotnet csharpier . --check