Skip to content

chore: Update Filter Rule types #476

chore: Update Filter Rule types

chore: Update Filter Rule types #476

Workflow file for this run

name: Build
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-14
strategy:
matrix:
device:
- "iPhone 15 Pro"
- "iPhone 16 Pro"
- "iPad Pro (12.9-inch) (6th generation)"
ios:
- "17.5"
- "18.0"
exclude:
# combination does not exist
- device: "iPhone 16 Pro"
ios: "17.5"
fail-fast: false
env:
GYM_SKIP_CODESIGNING: true
GYM_SKIP_ARCHIVE: true
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "16.0"
- name: Install dependencies
run: bundle install
- name: Compile the main application
run: 'bundle exec fastlane build device:"${{ matrix.device }}" ios:"${{ matrix.ios }}"'
test:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "16.0"
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec fastlane tests
lint:
runs-on: ubuntu-latest
env:
PRE_COMMIT_HOME: '/tmp/pre-commit'
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/cache@v4
with:
path: |
${{ env.PRE_COMMIT_HOME }}
key: ${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure