Skip to content

Commit

Permalink
change the changed files variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-erojaslizano committed Apr 2, 2024
1 parent bfba464 commit af32e55
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: "6.0.x"
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
- name: Run linters
uses: wearerequired/lint-action@v2
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
ALL_CHANGED_FILES: ${{git diff --name-only master}}
with:
dotnet_format_args: "--include ${{ALL_CHANGED_FILES}}"
dotnet_format: true
Expand Down

0 comments on commit af32e55

Please sign in to comment.