From 888af795c675ae263f015acbe227a0d60ba17d91 Mon Sep 17 00:00:00 2001 From: mike-dydx Date: Tue, 12 Dec 2023 13:18:42 -0500 Subject: [PATCH] fix swiftlint to use custom config --- .github/workflows/SwiftLint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/SwiftLint.yml b/.github/workflows/SwiftLint.yml index 856ec4476..1840516a1 100644 --- a/.github/workflows/SwiftLint.yml +++ b/.github/workflows/SwiftLint.yml @@ -22,5 +22,5 @@ jobs: # Fetch changes from the base branch of the pull request git fetch origin ${{ github.base_ref }} # Use git diff to find changed Swift files, then lint each file with SwiftLint - git diff --name-only origin/${{ github.base_ref }} | grep '\.swift$' | xargs swiftlint lint + git diff --name-only origin/${{ github.base_ref }} | grep '\.swift$' | xargs swiftlint --config dydx/.swiftlint.yml --fix lint