Skip to content

IOS CI workflow

IOS CI workflow #20

Workflow file for this run

# This workflow builds and tests the iOS app with CocoaPods and Xcode

Check failure on line 1 in .github/workflows/cocoapod.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cocoapod.yml

Invalid workflow file

(Line: 30, Col: 1): Unexpected value '- name', (Line: 31, Col: 1): Unexpected value 'run', (Line: 33, Col: 1): '      - name' is already defined, (Line: 34, Col: 1): '        run' is already defined, (Line: 36, Col: 1): '      - name' is already defined, (Line: 37, Col: 1): '        run' is already defined
# For more information see: https://docs.github.com/actions/guides/building-and-testing-swift
name: IOS CI with cocoapods
on:
push:
branches: [ master ]
paths:
- 'ios/OpenBot/**'
- '.github/workflows/cocoapod.yml'
pull_request:
branches: [ master ]
paths:
- 'ios/OpenBot/**'
- '.github/workflows/cocoapod.yml'
jobs:
build:
runs-on: macos-15
defaults:
run:
working-directory: ios/OpenBot
steps:
- name: Checkout Repository
uses: actions/checkout@v4
      - name: Install CocoaPods
        run: sudo gem install cocoapods
      - name: Remove Podfile.lock (regenerate)
        run: rm -f Podfile.lock
      - name: Pod install
        run: pod install