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 May 5, 2024
1 parent 1128989 commit cb75ecf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ jobs:
- name: Lint
run: |
./ci/lint-commit-msg.py
swift-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: norio-nomura/action-swiftlint@3.2.1
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 cb75ecf

Please sign in to comment.