From 767c12435470591c57e224c8b49a66b9a771b589 Mon Sep 17 00:00:00 2001 From: emawby Date: Mon, 29 Aug 2022 16:05:34 -0700 Subject: [PATCH] Run swiftlint with the strict flag --- .github/workflows/ci.yml | 3 +++ iOS_SDK/OneSignalSDK/UnitTests/UnitTests.m | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d54b66633..5d5054e71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: default="UnitTestApp" echo $default | cat >default echo Using default scheme: $default + - name: Run Swift Lint + run: | + swiftlint --strict - name: Build env: scheme: ${{ 'UnitTestApp' }} diff --git a/iOS_SDK/OneSignalSDK/UnitTests/UnitTests.m b/iOS_SDK/OneSignalSDK/UnitTests/UnitTests.m index b88166e28..859927cf5 100644 --- a/iOS_SDK/OneSignalSDK/UnitTests/UnitTests.m +++ b/iOS_SDK/OneSignalSDK/UnitTests/UnitTests.m @@ -24,7 +24,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ - +// temp revert #import #import #import