Skip to content

Commit

Permalink
Merge pull request #1122 from OneSignal/add_swift_lint
Browse files Browse the repository at this point in the history
Add swiftlint to CI.yml
  • Loading branch information
emawby authored Aug 30, 2022
2 parents ab9dd14 + 4195a9d commit 491902f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
default="UnitTestApp"
echo $default | cat >default
echo Using default scheme: $default
- name: Run Swift Lint
run: |
swiftlint
- name: Build
env:
scheme: ${{ 'UnitTestApp' }}
Expand Down
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
line_length: 150
3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
targets: ["OneSignalWrapper"]),
.library(
name: "OneSignalExtension",
targets: ["OneSignalExtensionWrapper"]),
targets: ["OneSignalExtensionWrapper"])
],
targets: [
.target(
Expand Down Expand Up @@ -63,4 +63,3 @@ let package = Package(
)
]
)

0 comments on commit 491902f

Please sign in to comment.