Skip to content

Make updating FlagPole's source list thread-safe. #75

Make updating FlagPole's source list thread-safe.

Make updating FlagPole's source list thread-safe. #75

Workflow file for this run

name: Linting
on:
pull_request:
branches: [ main ]
jobs:
check-changes:
name: Check for Changes
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.filter.outputs.changed }}
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
changed:
- '.github/workflows/lint.yml'
- '.swiftformat'
- '**/*.swift'
Lint:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || needs.check-changes.outputs.changed == 'true' }}
needs: check-changes
steps:
- uses: actions/checkout@v3
- name: "🧹 Lint changed files"
run: make lint