Skip to content

Commit

Permalink
Fix bad formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Dec 5, 2022
1 parent 3c893ba commit 4f61bc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
- name: Brew bundle
run:
brew update && brew bundle && brew upgrade swiftformat

- name: SwiftFormat
run:
swiftformat --lint .

- uses: actions/cache@v3
with:
Expand Down
1 change: 0 additions & 1 deletion ElementX/Sources/Services/Media/MediaSourceProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ struct MediaSourceProxy: Hashable {
var url: String {
underlyingSource.url()
}

}

// MARK: - Hashable
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-353.build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Unit Tests workflow now fails when there are SwiftFormat errors.

0 comments on commit 4f61bc6

Please sign in to comment.