Improve performance hot paths across the app (#86) #364
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: SwiftLint | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '**.swift' | |
| - 'Package.swift' | |
| - 'Sources/**' | |
| - 'Tests/**' | |
| - '.swiftlint.yml' | |
| - '.github/workflows/lint.yml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - '**.swift' | |
| - 'Package.swift' | |
| - 'Sources/**' | |
| - 'Tests/**' | |
| - '.swiftlint.yml' | |
| - '.github/workflows/lint.yml' | |
| jobs: | |
| lint: | |
| runs-on: macos-26 | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 | |
| - name: Install SwiftLint | |
| run: brew install swiftlint | |
| - name: Run SwiftLint | |
| run: | | |
| swiftlint lint --strict --reporter github-actions-logging |