Skip to content

feat: Change a key for the dependency cache - WPB-14445 #4335

feat: Change a key for the dependency cache - WPB-14445

feat: Change a key for the dependency cache - WPB-14445 #4335

Workflow file for this run

name: SwiftFormat
on:
pull_request:
types: [opened, synchronize, edited, ready_for_review]
merge_group:
types: [checks_requested]
# This is what will cancel the workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
SwiftFormat:
runs-on: ubuntu-latest
if: >
github.event.action != 'edited' || (
github.event.changes.title == null &&
github.event.changes.body == null &&
github.event.changes.assignees == null &&
github.event.changes.reviewers == null &&
github.event.changes.labels == null
)
container:
image: ghcr.io/nicklockwood/swiftformat:0.54.5
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftFormat
run: >
swiftformat --lint
./WirePlugins
./WireAPI
./WireAnalytics
./WireDomain
./WireFoundation
./WireUI
./scripts
--reporter github-actions-log
--config .swiftformat