Update Swift exceptions to be "@unchecked Sendable" #643
Workflow file for this run
This file contains 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: Swift lint and format | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
paths: | |
- "swift/**" | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: ["main"] | |
paths: | |
- "swift/**" | |
jobs: | |
swift-format: | |
name: Swift Format & Lint | |
runs-on: macos-14 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install swift-format | |
run: brew install swift-format | |
- name: swift-format Format | |
working-directory: swift | |
run: swift-format . --recursive --configuration .swift-format.json | |
- name: swift-format Lint | |
working-directory: swift | |
run: swift-format lint . --recursive --strict --configuration .swift-format.json |