Added localization support #76
Workflow file for this run
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
# This workflow will build a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Swift Format Lint | |
on: | |
pull_request: | |
paths: | |
- '**/*.swift' | |
- '.swift-format.json' | |
- '.github/workflows/swift-format.yml' | |
jobs: | |
lint: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Select Xcode 16.x for swift-format support | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 'latest-stable' # Aims for Xcode 16.x or newer | |
- name: Verify Xcode version and swift-format availability | |
run: | | |
echo "Active Xcode version:" | |
xcodebuild -version | |
echo "swift-format path (should be within Xcode toolchain):" | |
xcrun --find swift-format || echo "swift-format not found via xcrun, check Xcode version." | |
- name: Run swift-format lint (will fail on issues) | |
run: | | |
xcrun swift-format lint --recursive Sources Tests --ignore-unparsable-files | |