NEVISACCESSAPP-6212: update gh actions #72
Workflow file for this run
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: Verify Pull Request | |
on: | |
pull_request: | |
branches: [ 'main' ] | |
types: [opened, edited, synchronize, reopened] | |
workflow_dispatch: | |
env: | |
XCODE_VERSION: '15.2' | |
jobs: | |
pr: | |
runs-on: macos-13 | |
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: '3.0' | |
bundler-cache: true | |
# Build & Distribute | |
- name: Run Fastlane | |
uses: maierj/[email protected] | |
with: | |
lane: 'pr' |