-
Notifications
You must be signed in to change notification settings - Fork 34
Adding KtLint #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding KtLint #116
Changes from all commits
343a6fd
27d58e6
caa96e5
47a21a2
797c8be
f7c1009
fd41921
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # .editorconfig | ||
| root = true | ||
|
|
||
| [*.{kt,kts}] | ||
| end_of_line = lf | ||
| ij_kotlin_packages_to_use_import_on_demand = true | ||
| ij_kotlin_allow_trailing_comma = true | ||
| ij_kotlin_allow_trailing_comma_on_call_site = true | ||
| ij_kotlin_imports_layout = * | ||
| ij_kotlin_indent_before_arrow_on_new_line = false | ||
| ij_kotlin_line_break_after_multiline_when_entry = true | ||
| indent_size = 4 | ||
| indent_style = space | ||
| insert_final_newline = true | ||
| ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than = 8 | ||
| ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 4 | ||
| ktlint_code_style = android_studio | ||
| ktlint_enum_entry_name_casing = upper_or_camel_cases | ||
| ktlint_function_naming_ignore_when_annotated_with = Composable | ||
| ktlint_function_signature_body_expression_wrapping = default | ||
| ktlint_ignore_back_ticked_identifier = false | ||
| max_line_length = 140 | ||
| parameter-list-wrapping = true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ on: | |
|
|
||
| jobs: | ||
| deploy: | ||
| runs-on: macos-latest | ||
| runs-on: macos-13 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had to change this because I was getting this issue:
when running WatchOS tests |
||
| steps: | ||
| - name: Checkout the repo | ||
| uses: actions/checkout@v3 | ||
|
|
@@ -20,15 +20,15 @@ jobs: | |
| - name: Validate Gradle Wrapper | ||
| uses: gradle/wrapper-validation-action@v1 | ||
| - name: Cache gradle | ||
| uses: actions/cache@v2 | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.gradle/caches | ||
| key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-gradle- | ||
|
|
||
| - name: Cache konan | ||
| uses: actions/cache@v2 | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.konan | ||
| key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
|
|
@@ -47,7 +47,7 @@ jobs: | |
|
|
||
| - name: Upload Stately Collections Build Results | ||
| if: always() | ||
| uses: actions/upload-artifact@v2 | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: deprecated-test-results | ||
| path: deprecated/**/build/reports/tests/ | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.