Fail Unit Tests workflow when SwiftFormat fails. (#353)

This commit is contained in:
Doug
2022-12-06 10:26:50 +00:00
committed by GitHub
parent 347cb7d73a
commit 0347632f13
3 changed files with 5 additions and 1 deletions

View File

@@ -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:

View File

@@ -31,7 +31,6 @@ struct MediaSourceProxy: Hashable {
var url: String {
underlyingSource.url()
}
}
// MARK: - Hashable

1
changelog.d/pr-353.build Normal file
View File

@@ -0,0 +1 @@
The Unit Tests workflow now fails when there are SwiftFormat errors.