From e03ccf403f2728f80642df8837277813f3e93931 Mon Sep 17 00:00:00 2001 From: QSD_faris Date: Mon, 8 Jan 2024 08:58:08 +0100 Subject: [PATCH 1/2] add github workflows --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9158ccf --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Build & Test + +on: + workflow_dispatch: + push: + branches: + - main + - develop + pull_request: + types: + - opened + - synchronize + +jobs: + build_and_test: + runs-on: macos-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Build + run: swift build -v + + - name: Run tests + run: swift test -v From 0410942f258a18c64bd20ba93e3f13f75a2252e9 Mon Sep 17 00:00:00 2001 From: QSD_faris Date: Mon, 8 Jan 2024 09:00:41 +0100 Subject: [PATCH 2/2] remove deskpro framework import in file --- Sources/messenger-sdk-ios/messenger_sdk_ios.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/messenger-sdk-ios/messenger_sdk_ios.swift b/Sources/messenger-sdk-ios/messenger_sdk_ios.swift index 6315199..c11b594 100644 --- a/Sources/messenger-sdk-ios/messenger_sdk_ios.swift +++ b/Sources/messenger-sdk-ios/messenger_sdk_ios.swift @@ -1,5 +1,3 @@ -import DeskproFramework - struct messenger_sdk_ios { private(set) var text = "Hello, World!"