name: Firestore

# Controls when the action will run. 
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    name: build
    runs-on: macOS-latest
    strategy:
        matrix:
          swift-suffix: ['']

    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Build
        run: |
          cd firestore
          gem install bundler
          bundle install
          gem install xcpretty
          bundle exec pod install --repo-update
          ../scripts/install_prereqs/firestore.sh
          cd -
          ./scripts/test.sh
        env:
          SWIFT_SUFFIX: ${{ matrix.swift-suffix }}
          SAMPLE: Firestore

name: Firestore

# Controls when the action will run. 
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    name: build
    runs-on: macOS-latest
    strategy:
        matrix:
          swift-suffix: ['']

    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Setup
        run: |
          cd firestore
          gem install bundler
          bundle install
          gem install xcpretty
          bundle exec pod install --repo-update
          ../scripts/install_prereqs/firestore.sh
        env:
          SAMPLE: Firestore
      - name: Build
        run: |
          ./scripts/test.sh
        env:
          SWIFT_SUFFIX: ${{ matrix.swift-suffix }}
          SAMPLE: Firestore

Break workflow into smaller chunks
Break workflow into smaller chunks
