Skip to content

Commit

Permalink
github/workflows: add swift linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Akemi committed Apr 27, 2024
1 parent c874c3e commit 8548d80
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ jobs:
- name: Lint
run: |
./ci/lint-commit-msg.py
swift-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 50

- uses: norio-nomura/[email protected]
10 changes: 10 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
disabled_rules:
- identifier_name
- line_length
- large_tuple
- void_function_in_ternary
- function_body_length
- cyclomatic_complexity
- file_length
- type_body_length
strict: true

0 comments on commit 8548d80

Please sign in to comment.