diff --git a/.github/workflows/megalinter.yml b/.github/workflows/megalinter.yml index ca9884fe..635111f1 100644 --- a/.github/workflows/megalinter.yml +++ b/.github/workflows/megalinter.yml @@ -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/action-swiftlint@3.2.1 + with: + args: --strict + env: + DIFF_BASE: ${{ github.base_ref }} - name: Archive production artifacts if: success() || failure()