Skip to content

Commit

Permalink
chore: Add swift-format linting step under github pull request action
Browse files Browse the repository at this point in the history
  • Loading branch information
polok committed Oct 5, 2023
1 parent 7326c66 commit 4d7575a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
swift-version: "5.8"
- name: Install swift-format tool
run: brew install swift-format
- name: Swift-format formatting for sources directory
run: swift-format format -r ./Sources
- name: Swift-format formatting for tests directory
run: swift-format format -r ./Tests
- name: Swift-format linting Sources directory
run: swift-format lint -s -r ./Sources
- name: Swift-format linting Tests directory
run: swift-format lint -s -r ./Tests
- name: Build
run: swift build -v
- name: Run unit tests
Expand Down

0 comments on commit 4d7575a

Please sign in to comment.