Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/swift-benchmark-delta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Run benchmarks for PR branch
if: ${{ env.hasBenchmark == '1' }}
run: |
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark update-baseline pull_request
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update pull_request --no-progress --quiet
- name: Switch to branch 'main'
if: ${{ env.hasBenchmark == '1' }}
run: |
Expand All @@ -50,14 +50,14 @@ jobs:
- name: Run benchmarks for branch 'main'
if: ${{ env.hasBenchmark == '1' }}
run: |
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark update-baseline main
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update main --no-progress --quiet
- name: Compare PR and main
if: ${{ env.hasBenchmark == '1' }}
id: benchmark
run: |
echo $(date) >> $GITHUB_STEP_SUMMARY
echo "exitStatus=1" >> $GITHUB_ENV
swift package benchmark compare main pull_request --format markdown >> $GITHUB_STEP_SUMMARY
swift package benchmark baseline check main pull_request --format markdown >> $GITHUB_STEP_SUMMARY
echo "exitStatus=0" >> $GITHUB_ENV
continue-on-error: true
- if: ${{ env.exitStatus == '0' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swift-outdated-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- name: Check Swift package dependencies
id: spm-dep-check
uses: MarcoEidinger/swift-package-dependencies-check@2.1.0
uses: MarcoEidinger/swift-package-dependencies-check@2.3.4
with:
isMutating: true
failWhenOutdated: false
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
## User settings
xcuserdata/

## Benchmark data
.benchmarkBaselines/

## DocC build directories
**/.docc-build/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
Expand Down
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.7
5.7.1
16 changes: 13 additions & 3 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
####################################################################
# DO NOT EDIT THIS FILE
# This is a master file maintained in https://github.com/ordo-one/repository-templates
# This is a master file maintained in https://github.com/ordo-one/public-repository-templates
#
# Add overrides into `swiftlint_refinement.yml` in the directory it self or
# .swiftlint.yml under the specific directory where the code is located
Expand All @@ -9,11 +9,13 @@
####################################################################

included:
- Benchmarks
- Sources
- Tests
excluded:
analyzer_rules:
- unused_import
opt_in_rules:
- anyobject_protocol
- array_init
- attributes
- closure_end_indentation
Expand Down Expand Up @@ -72,7 +74,6 @@ opt_in_rules:
- test_case_accessibility
- toggle_bool
- unavailable_function
- unused_import
- unneeded_parentheses_in_closure_argument
- unowned_variable_capture
- untyped_error_in_catch
Expand All @@ -81,3 +82,12 @@ opt_in_rules:
- vertical_whitespace_opening_braces
- xct_specific_matcher
- yoda_condition
line_length:
warning: 140
error: 140
ignores_comments: true
ignores_urls: true
ignores_function_declarations: true
ignores_interpolated_strings: true
identifier_name:
excluded: [id, i, j, k]