mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00
Fail Unit Tests workflow when SwiftFormat fails. (#353)
This commit is contained in:
parent
3c893ba342
commit
dcedb3fb98
4
.github/workflows/unit_tests.yml
vendored
4
.github/workflows/unit_tests.yml
vendored
@ -28,6 +28,10 @@ jobs:
|
||||
run:
|
||||
brew update && brew bundle && brew upgrade swiftformat
|
||||
|
||||
- name: SwiftFormat
|
||||
run:
|
||||
swiftformat --lint .
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: vendor/bundle
|
||||
|
@ -31,7 +31,6 @@ struct MediaSourceProxy: Hashable {
|
||||
var url: String {
|
||||
underlyingSource.url()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: - Hashable
|
||||
|
1
changelog.d/pr-353.build
Normal file
1
changelog.d/pr-353.build
Normal file
@ -0,0 +1 @@
|
||||
The Unit Tests workflow now fails when there are SwiftFormat errors.
|
Loading…
x
Reference in New Issue
Block a user