Skip to content

Merge main hotfixes into dev for 1.1.0 release #2299

Merge main hotfixes into dev for 1.1.0 release

Merge main hotfixes into dev for 1.1.0 release #2299

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: Run SwiftLint
# --strict makes warnings fail the job
run: swiftlint lint --strict