Change CI jobs to be based on paths #1767
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: 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 |