39 lines
726 B
YAML
39 lines
726 B
YAML
# GitHub Actions Virtual Environments
|
|
# https://github.com/actions/virtual-environments/
|
|
|
|
name: Pod Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
|
|
|
|
jobs:
|
|
main:
|
|
name: Pod Lint
|
|
runs-on: macos-12
|
|
steps:
|
|
- name: git checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: ruby versions
|
|
run: |
|
|
ruby --version
|
|
gem --version
|
|
bundler --version
|
|
|
|
# https://github.com/ruby/setup-ruby
|
|
- name: ruby setup
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
bundler-cache: true
|
|
|
|
- name: pod lint
|
|
run: bundle exec pod lib lint --verbose
|