-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 906 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Verify Pull Request
on:
pull_request:
branches: [ 'main' ]
types: [opened, edited, synchronize, reopened]
workflow_dispatch:
env:
RUBY_VERSION: '3.1'
XCODE_VERSION: '15.4'
jobs:
pr:
runs-on: macos-14
steps:
# Checkout the repository under $GITHUB_WORKSPACE
- name: Checkout Project
uses: actions/checkout@v4
# Ensure correct Xcode version is installed.
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
# Set Ruby version and Cache RubyGem dependencies
- name: Cache RubyGem Dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
# Build & Distribute
- name: Run Fastlane
uses: maierj/[email protected]
with:
lane: 'pr'