Skip to content

Commit

Permalink
Added swiftlint action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Bates committed Apr 22, 2024
1 parent 4e50f94 commit 58d69c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
lfs: 'true'
fetch-depth: 0

- name: Swiftlint
uses: norio-nomura/action-swiftlint@3.2.1
with:
args: --strict

- name: Setup Ruby
uses: ruby/setup-ruby@v1

Expand Down
7 changes: 0 additions & 7 deletions Fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ default_platform :ios
platform :ios do
desc 'Runs all the tests'
lane :unit do
lint
unit_test
end

Expand All @@ -28,12 +27,6 @@ platform :ios do
)
end

private_lane :lint do
swiftlint(
strict: true
)
end

private_lane :build do |options|
gym(
scheme: configuration.app_scheme,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 58d69c9

Please sign in to comment.