Skip to content

Commit

Permalink
Update linter.yml (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Nov 5, 2023
1 parent ae376df commit fec3111
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: Linter check

on:
pull_request
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
linter-check:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4

Expand All @@ -15,7 +22,7 @@ jobs:
- name: Dotnet restore
run: dotnet tool restore

- name: Csharpier format check
- name: CSharpier format check
run: |
dotnet csharpier . --check
echo "run 'dotnet build' to fix the formatting of the code automatically"

0 comments on commit fec3111

Please sign in to comment.