* [EACQAPW-5434] Remove tds controller crutches / handles #919
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: merge request | |
on: | |
pull_request: | |
inputs: | |
xcodeproj_path: | |
required: false | |
type: string | |
scheme_name: | |
required: false | |
type: string | |
jobs: | |
changelog_check: | |
secrets: | |
tinkoff_bot_pat: ${{ secrets.TINKOFF_BOT_PAT }} | |
uses: ./.github/workflows/check-changelog.yml | |
swiftformat: | |
runs-on: ubuntu-latest | |
container: ghcr.io/nicklockwood/swiftformat:0.49.18 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: SwiftFormat Lint Run | |
run: swiftformat . --lint --config .swiftformat | |
swiftlint: | |
runs-on: ubuntu-latest | |
container: ghcr.io/realm/swiftlint:0.47.0 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Swiftlint Run | |
working-directory: ASDKSample | |
run: swiftlint --quiet | |
check: | |
needs: [swiftformat, swiftlint, changelog_check] | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up ruby env | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.2 | |
- name: Bundle install | |
run: bundle install | |
- name: Pod install | |
working-directory: ASDKSample | |
run: bundle exec pod install | |
- name: build Package.swift | |
run: bundle exec fastlane build_spm | |
- name: Testing [Unit Tests] | |
run: bundle exec fastlane tests | |
- name: Podspecs lint | |
env: | |
XCODEPROJ_PATH: ${{ inputs.xcodeproj_path }} | |
SCHEME_NAME: ${{ inputs.scheme_name }} | |
run: bundle exec fastlane check | |
# check: | |
# uses: tinkoff-mobile-tech/workflows/.github/workflows/ios_lib.merge_request.yml@v1 |