Mingshen Sun
b7d6c1277c
Cache the go directory
2020-12-30 15:18:39 -08:00
Mingshen Sun
4a18dd4988
Skip testSSHKeyCredentialProvider in CI
2020-12-30 15:18:39 -08:00
Mingshen Sun
40fc12d02c
Use cache
2020-12-30 15:18:39 -08:00
Danny Moesch
6050903a1f
Use correct script paths in testing workflow
2020-12-30 10:06:59 -08:00
Danny Moesch
9487eea192
Invert check for "Release" build
...
This makes the scripts runnable directly from the terminal where the
'CONFIGURATION' variable is not set to any value.
2020-12-30 10:06:59 -08:00
Danny Moesch
43ae029bfe
Use 'exit' to return from a Bash script
2020-12-30 10:06:59 -08:00
Mingshen Sun
52a8c4a401
Move all scripts to the scripts dir
2020-12-29 19:44:00 -08:00
Mingshen Sun
df80d2e431
Start to use GitHub Action ( #432 )
2020-12-23 20:26:58 -08:00
Danny Moesch
7c558a893a
Apply recommended Xcode settings
2020-12-23 19:59:26 -08:00
Danny Moesch
788b7b9011
Update SwiftyUserDefaults to version 5.1.0
2020-12-23 19:59:26 -08:00
Danny Moesch
1a8692bde3
Run updated SwiftFormat
2020-12-23 19:59:26 -08:00
Danny Moesch
a49f0ee5e0
Use SwiftLint version 0.42.x
2020-12-23 19:59:26 -08:00
Anatole Dahan
5afc700416
Add compatibility with Xcode 12.1
2020-11-12 10:04:47 -08:00
wazdra
1dd500b4fb
Updating build documentation ( #431 )
2020-11-11 10:05:49 -08:00
Danny Moesch
bf3bb8d168
Use SwiftLint version 0.47.x
2020-11-10 14:03:12 -08:00
Danny Moesch
eba4df2f51
Fix #424 : Escape question mark '?'
...
It would otherwise be interpreted as the beginning of the query part in an URL.
2020-11-10 12:12:07 -08:00
Mingshen Sun
17ce107129
Avoid timemout
2020-11-09 14:01:12 -08:00
Danny Moesch
49c6b25611
Use SwiftFormat version 0.47.x
2020-11-09 10:13:05 -08:00
Danny Moesch
e8389eb262
Enable SwiftLint rule 'identifier_name' and handle all violations
2020-09-20 17:25:50 -07:00
Danny Moesch
7ada4dd96d
Remove superfluous code
2020-09-20 17:25:50 -07:00
Danny Moesch
4ffbafc47e
Fix file header format
2020-09-20 17:25:50 -07:00
Danny Moesch
50b2e0f088
Enable SwiftLint rule 'implicit_return' and fix violation
2020-09-20 17:25:50 -07:00
Danny Moesch
b4d1b4de29
Enable SwiftLint rule 'function_parameter_count'
2020-09-20 17:25:50 -07:00
Danny Moesch
2cdd0e2521
Enable SwiftLint rule 'cyclomatic_complexity' and fix violation which is reasonable
2020-09-20 17:25:50 -07:00
Danny Moesch
8345bb89a4
Enable SwiftLint rule 'attributes' and configure it to agree with SwiftFormat
2020-09-20 17:25:50 -07:00
Mingshen Sun
10ca4c06d7
Add swiftlint and swiftformat as dependencies
2020-09-19 21:25:49 -07:00
Mingshen Sun
089b97e26d
Fix the go version to 1.14.9
2020-09-19 20:18:42 -07:00
Danny Moesch
49e7526c1a
Increase deployment target in Pods to to get rid of warning
2020-09-19 18:52:27 -07:00
Danny Moesch
e688c1bdd9
Get rid of warning
...
The warning is "warning: linking against dylib not safe for use in application extensions". It should be safe in our case.
2020-09-19 18:52:27 -07:00
Danny Moesch
cfd74c773d
Add Carthage wrapper to circumvent issues with Xcode 12
...
Carthage is currently not working with Xcode 12. As a workaround a wrapper script has been proposed (see https://gist.github.com/skymobilebuilds/61f4a95bd62a3db36b52719aeab7e0d5 ). Until the issue is fixed and Carthage can built again with Xcode 12, the wrapper must be used instead of the direct `carthage` command.
2020-09-19 18:52:27 -07:00
Danny Moesch
293df9ea6e
Enable SwiftLint rule 'trailing_comma'
2020-09-19 18:52:27 -07:00
Danny Moesch
f9d5d794f0
Fix new warning caused by Swift 5.3 and bring SwiftLint rule in sync with it
2020-09-19 18:52:27 -07:00
Danny Moesch
2b7b378e12
Polish SwiftLint and SwiftFormat configurations
2020-09-06 21:21:46 -07:00
Danny Moesch
8459af4196
Use correct bundle ID for extensions in beta app
2020-09-06 20:44:46 -07:00
Danny Moesch
6044098278
Refactor GitCredential to simplify it and to add tests
2020-09-06 20:12:36 -07:00
Danny Moesch
56b7b24fce
Move Crypto functionality back to passKit
2020-09-06 17:59:55 -07:00
Danny Moesch
6ae506d7e6
Fix #407 : Search all scanned segments for the key block footer
2020-08-31 14:05:19 -07:00
Danny Moesch
078503f249
Combine key scanning logic in one class
2020-08-31 14:05:19 -07:00
Danny Moesch
edd7398cd4
Use guard statements to reduce nesting
2020-08-31 14:05:19 -07:00
Danny Moesch
ddabe206ab
Use SwiftFormat version 0.46.x
2020-08-28 16:42:30 -07:00
Danny Moesch
9b38cc0437
Skip SwiftLint and SwiftFormat runs on CI build
...
Unfortunately, there seems to be no simpler way to tell a script in Xcode that it runs on CI.
2020-08-28 16:42:30 -07:00
Danny Moesch
ea304f963c
Remove passTest target as it is empty now
2020-08-28 16:42:30 -07:00
Danny Moesch
fd213dee95
Perform update before installing Homebrew packages
2020-08-28 16:42:30 -07:00
Danny Moesch
8a4136b7ce
Enable SwiftLint rule 'computed_accessors_order' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
3197ef39a3
Use SwiftLint version 0.40.x
2020-08-28 16:42:30 -07:00
Danny Moesch
d3a11c9d29
Enable SwiftLint rule 'function_default_parameter_at_end' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
5270c92b76
Enable SwiftLint rule 'overridden_super_call' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
e1cb280d4a
Enable SwiftLint rule 'weak_delegate' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
c5e88d82c9
Enable SwiftLint rule 'vertical_whitespace_closing_braces' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
78be3dabe7
Keep SwiftLint rule 'vertical_whitespace_between_cases' disabled
2020-08-28 16:42:30 -07:00