Skip to content

mathieu/exploration/Adapt DataModels to Firestore requirements #74

mathieu/exploration/Adapt DataModels to Firestore requirements

mathieu/exploration/Adapt DataModels to Firestore requirements #74

# Leka - iOS Monorepo
# Copyright APF France handicap
# SPDX-License-Identifier: Apache-2.0
name: Linter - pre-commit hooks
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
swift_format:
name: pre-commit hooks
runs-on: [self-hosted, iOS]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1 # Fetch all history for all branches and tags
lfs: true
- name: Run pre-commit hooks --all-files
run: |
pre-commit run --show-diff-on-failure --color=always --all-files