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 diff --git a/Sources/messenger-sdk-ios/messenger_sdk_ios.swift b/Sources/messenger-sdk-ios/messenger_sdk_ios.swift index 9f2e971..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!"