File tree Expand file tree Collapse file tree 5 files changed +24
-8
lines changed Expand file tree Collapse file tree 5 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 4141 - name : Run benchmarks for PR branch
4242 if : ${{ env.hasBenchmark == '1' }}
4343 run : |
44- swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark update- baseline pull_request
44+ swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update pull_request --no-progress --quiet
4545 - name : Switch to branch 'main'
4646 if : ${{ env.hasBenchmark == '1' }}
4747 run : |
@@ -50,14 +50,14 @@ jobs:
5050 - name : Run benchmarks for branch 'main'
5151 if : ${{ env.hasBenchmark == '1' }}
5252 run : |
53- swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark update- baseline main
53+ swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update main --no-progress --quiet
5454 - name : Compare PR and main
5555 if : ${{ env.hasBenchmark == '1' }}
5656 id : benchmark
5757 run : |
5858 echo $(date) >> $GITHUB_STEP_SUMMARY
5959 echo "exitStatus=1" >> $GITHUB_ENV
60- swift package benchmark compare main pull_request --format markdown >> $GITHUB_STEP_SUMMARY
60+ swift package benchmark baseline check main pull_request --format markdown >> $GITHUB_STEP_SUMMARY
6161 echo "exitStatus=0" >> $GITHUB_ENV
6262 continue-on-error : true
6363 - if : ${{ env.exitStatus == '0' }}
Original file line number Diff line number Diff line change 1313 - uses : actions/checkout@v3
1414 - name : Check Swift package dependencies
1515 id : spm-dep-check
16- uses : MarcoEidinger/swift-package-dependencies-check@2.1.0
16+ uses : MarcoEidinger/swift-package-dependencies-check@2.3.4
1717 with :
1818 isMutating : true
1919 failWhenOutdated : false
Original file line number Diff line number Diff line change 99# # User settings
1010xcuserdata /
1111
12+ # # Benchmark data
13+ .benchmarkBaselines /
14+
15+ # # DocC build directories
16+ ** /.docc-build /
17+
1218# # compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
1319* .xcscmblueprint
1420* .xccheckout
Original file line number Diff line number Diff line change 1- 5.7
1+ 5.7.1
Original file line number Diff line number Diff line change 11# ###################################################################
22# DO NOT EDIT THIS FILE
3- # This is a master file maintained in https://github.com/ordo-one/repository-templates
3+ # This is a master file maintained in https://github.com/ordo-one/public- repository-templates
44#
55# Add overrides into `swiftlint_refinement.yml` in the directory it self or
66# .swiftlint.yml under the specific directory where the code is located
99# ###################################################################
1010
1111included :
12+ - Benchmarks
1213 - Sources
1314 - Tests
1415excluded :
16+ analyzer_rules :
17+ - unused_import
1518opt_in_rules :
16- - anyobject_protocol
1719 - array_init
1820 - attributes
1921 - closure_end_indentation
@@ -72,7 +74,6 @@ opt_in_rules:
7274 - test_case_accessibility
7375 - toggle_bool
7476 - unavailable_function
75- - unused_import
7677 - unneeded_parentheses_in_closure_argument
7778 - unowned_variable_capture
7879 - untyped_error_in_catch
@@ -81,3 +82,12 @@ opt_in_rules:
8182 - vertical_whitespace_opening_braces
8283 - xct_specific_matcher
8384 - yoda_condition
85+ line_length :
86+ warning : 140
87+ error : 140
88+ ignores_comments : true
89+ ignores_urls : true
90+ ignores_function_declarations : true
91+ ignores_interpolated_strings : true
92+ identifier_name :
93+ excluded : [id, i, j, k]
You can’t perform that action at this time.
0 commit comments