Collection literals and preferring source gen for regex #103
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 format | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- '**.cs' | |
- 'src/.editorconfig' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- '**.cs' | |
- 'src/.editorconfig' | |
jobs: | |
check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: dotnet format | |
run: dotnet format --verify-no-changes | |
working-directory: src |