Skip to content

Update CI/CD Scripts to use new ruby version #10

Update CI/CD Scripts to use new ruby version

Update CI/CD Scripts to use new ruby version #10

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Bundle install
uses: ruby/setup-ruby@v1
with:
bundler: "Gemfile.lock"
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Bundle install Example
uses: ruby/setup-ruby@v1
working-directory: ./Example

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 22, Col: 7): Unexpected value 'working-directory'
with:
bundler: "Gemfile.lock"
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Pod install
working-directory: ./Example
run: bundle exec pod install
- name: Build and test
run: bundle exec fastlane ci_check
- name: Pod lib lint
run: bundle exec pod lib lint