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 f037035 commit eeff5ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "5.8"
- name: Install swift-format tool
run: brew install swift-format
- 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 eeff5ad

Please sign in to comment.