Skip to content

Commit

Permalink
lint only swift files
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Dec 12, 2023
1 parent 358d30c commit 9b4d74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/SwiftLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run SwiftLint on changed files
run: |
# Extract changed files and filter for Swift files
SWIFT_FILES=$(echo "$CHANGED_FILES" | grep -E '\.(swift)$' | xargs)
SWIFT_FILES=$(echo "$CHANGED_FILES" | grep -E '.*\.swift$' | xargs)
# Display the list of Swift files to be linted
echo "Swift files to be linted:"
Expand Down

0 comments on commit 9b4d74d

Please sign in to comment.