fix: 🐛 Card Focus with button [jira: IOSSDKBUG-898] #2990
Workflow file for this run
This file contains hidden or 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: PR | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
swift-api-assign-reviewer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: MarcoEidinger/swift-api-assign-reviewer@1.0.0 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: ".github/configActions/swift-api-assign-reviewer.yml" | |
conventionalcommit-verification: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v4 | |
with: | |
configFile: '.github/configActions/commitlint.config.js' | |
ReuseComplianceCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v1.1 | |
CodeFormattingCheck: | |
runs-on: macos-26 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '26.0' | |
- name: Cache Mint packages | |
id: mint-cache | |
uses: actions/cache@v3 | |
with: | |
path: /usr/local/lib/mint | |
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
restore-keys: ${{ runner.os }}-mint- | |
- name: Install Mint | |
run: | | |
brew install mint || true | |
echo "/opt/homebrew/bin" >> $GITHUB_PATH | |
- name: Install SwiftLint | |
run: | | |
curl -L https://github.com/realm/SwiftLint/releases/download/0.59.1/portable_swiftlint.zip -o swiftlint.zip | |
unzip swiftlint.zip -d swiftlint-bin | |
sudo mv swiftlint-bin/swiftlint /usr/local/bin/ | |
- name: Install SwiftFormat | |
run: | | |
curl -L https://github.com/nicklockwood/SwiftFormat/releases/download/0.53.4/swiftformat.zip -o swiftformat.zip | |
unzip swiftformat.zip -d swiftformat-bin | |
sudo mv swiftformat-bin/swiftformat /usr/local/bin/ | |
- name: Format Swift code | |
run: mint run swiftformat --verbose . | |
- name: Verify formatted code is unchanged | |
run: git diff --exit-code HEAD | |
LocalizableTextCommentsCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Check for changes in .strings files | |
uses: getsentry/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'Sources/**/*.strings' | |
- name: Run StringsLint to check for missing comments in .strings files | |
uses: dral3x/action-stringslint@1.1.0 | |
if: steps.changes.outputs.src == 'true' |