Merge pull request #21 from faberNovel/release/2.0.0 #37
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: 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: Pods cache | |
uses: actions/cache@v3 | |
with: | |
path: Pods | |
key: ${{ runner.os }}-cocoapods-${{ hashFiles('**/Podfile.lock') }} | |
- name: Pod install | |
run: | | |
if [ ! -d "Pods" ]; then | |
bundle exec pod install | |
fi | |
- name: Build and test | |
run: bundle exec fastlane ci_check | |
- name: Pod lib lint | |
run: pod lib lint |