Skip to content

Commit 339a824

Browse files
ci: [ATL-1640] add swiftlint
Megalinter doesnt work well with swiftlint. This issue has been reported in the ticket below. While a solution is not provided we will go forward with having this swiftlint action and disable the megalinter swiftlint process. oxsecurity/megalinter#440
1 parent ea03919 commit 339a824

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/megalinter.yml

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ jobs:
2222
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2323
DISABLE: COPYPASTE,SPELL
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
DISABLE_LINTERS: SWIFT_SWIFTLINT
26+
27+
- name: SwiftLint
28+
uses: norio-nomura/[email protected]
29+
with:
30+
args: --strict
31+
env:
32+
DIFF_BASE: ${{ github.base_ref }}
2533

2634
- name: Archive production artifacts
2735
if: success() || failure()

0 commit comments

Comments
 (0)