[732] - Migrate to GitHub Actions #8
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: On pull request | |
on: | |
pull_request: | |
branches: | |
- develop | |
workflow_dispatch: | |
inputs: | |
test: | |
description: Just to force the manual trigger | |
required: false | |
default: 'trigger' | |
jobs: | |
on_pull_request: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby environment | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Install bundler | |
run: gem install bundler | |
- name: Install dependencies | |
run: bundle install | |
- name: Install SwiftLint | |
run: brew install swiftlint | |
- name: Run Unit and UI tests | |
uses: ./.github/workflows/actions/run_lane | |
with: | |
lane: test_unit_ui | |
match_password: ${{ secrets.MATCH_PASSWORD }} | |
- name: Commit translation file if changed | |
uses: ./.github/workflows/actions/xliff_export |