Skip to content

Commit 8dc3cc2

Browse files
committed
ci: update PR job to use SwiftFormat instead of apple swift-format
1 parent cbe5dd0 commit 8dc3cc2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
name: Pull Requst
1+
name: Pull Request
22

33
on: [pull_request]
44

55
jobs:
6-
lint:
7-
name: Lint Formatting
8-
runs-on: ubuntu-latest
6+
Lint:
7+
runs-on: macos-latest
98
steps:
10-
- uses: actions/checkout@v4
11-
- name: Lint Formatting
12-
run: swift format lint --recursive --strict .
13-
9+
- uses: actions/checkout@v3
10+
- name: SwiftFormat
11+
run: swiftformat --lint --strict . --reporter github-actions-log
1412
test-ubuntu-latest:
1513
name: Test Swift ${{ matrix.swift }} Ubuntu Latest
1614
strategy:
@@ -22,3 +20,4 @@ jobs:
2220
- uses: actions/checkout@v4
2321
- name: Run Tests
2422
run: swift test -Xswiftc -warnings-as-errors -Xcc -Werror
23+

0 commit comments

Comments
 (0)