Skip to content

Commit

Permalink
ci: [ATL-1640] add swiftlint
Browse files Browse the repository at this point in the history
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
  • Loading branch information
goncalo-frade-iohk committed Aug 19, 2022
1 parent ea03919 commit 1ce2180
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/megalinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ jobs:
id: ml
uses: megalinter/megalinter@v6
env:
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
DISABLE: COPYPASTE,SPELL
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISABLE_LINTERS: SWIFT_SWIFTLINT

- name: SwiftLint
uses: norio-nomura/[email protected]
with:
args: --strict
env:
DIFF_BASE: ${{ github.base_ref }}

- name: Archive production artifacts
if: success() || failure()
Expand Down

0 comments on commit 1ce2180

Please sign in to comment.