diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a99a375..f5e7dc0 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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