Skip to content

Commit ca6d8da

Browse files
RISCfutureclaude
andcommitted
Switch from swift-format to swift format in CI
Use the built-in swift format subcommand from the Swift toolchain instead of cloning and building swift-format from source. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 45a9e07 commit ca6d8da

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,5 @@ jobs:
4848
- name: Checkout
4949
uses: actions/checkout@v4
5050

51-
- name: Install swift-format
52-
run: |
53-
git clone --branch 600.0.0 --depth 1 https://github.com/swiftlang/swift-format.git /tmp/swift-format
54-
cd /tmp/swift-format
55-
swift build -c release
56-
cp /tmp/swift-format/.build/release/swift-format /usr/local/bin/
57-
5851
- name: Run swift-format
59-
run: swift-format lint -r .
52+
run: swift format lint -r .

0 commit comments

Comments
 (0)