Skip to content

chore(deps): update libxmtp to ios-4.11.0-nightly.20260708.4dda49c (#… #4691

chore(deps): update libxmtp to ios-4.11.0-nightly.20260708.4dda49c (#…

chore(deps): update libxmtp to ios-4.11.0-nightly.20260708.4dda49c (#… #4691

Workflow file for this run

name: SwiftLint
on:
workflow_dispatch: # ← optional, to run manually
pull_request:
branches: ['main', 'dev']
push:
branches: ['main', 'dev']
env:
SWIFTLINT_VERSION: '0.62.2'
jobs:
SwiftLint:
name: SwiftLint
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install SwiftLint ${{ env.SWIFTLINT_VERSION }}
run: |
curl -sL "https://github.com/realm/SwiftLint/releases/download/${SWIFTLINT_VERSION}/portable_swiftlint.zip" -o swiftlint.zip
unzip -o swiftlint.zip -d swiftlint
sudo mv swiftlint/swiftlint /usr/local/bin/swiftlint
rm -rf swiftlint swiftlint.zip
swiftlint version
- name: Cache SwiftLint cache
uses: actions/cache@v4
with:
path: .swiftlint-cache
key: swiftlint-${{ env.SWIFTLINT_VERSION }}-${{ hashFiles('.swiftlint.yml') }}-${{ hashFiles('**/*.swift') }}
restore-keys: |
swiftlint-${{ env.SWIFTLINT_VERSION }}-${{ hashFiles('.swiftlint.yml') }}-
- name: Run SwiftLint
# --strict makes warnings fail the job. --cache-path makes re-runs
# on the same PR (e.g. after a force-push that touches a few files)
# only re-analyze what changed.
run: swiftlint lint --strict --cache-path .swiftlint-cache