Skip to content

Commit 16258af

Browse files
authored
Merge pull request #71 from ChochaNaresh/Dev
Dev
2 parents 1df651a + 1fb93d7 commit 16258af

76 files changed

Lines changed: 2624 additions & 3204 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*.{kt,kts}]
2+
ij_kotlin_allow_trailing_comma = false
3+
ij_kotlin_allow_trailing_comma_on_call_site = false
4+
ktlint_function_naming_ignore_when_annotated_with = Composable, Test, Preview

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,44 @@ permissions:
1212
contents: write # Required to create GitHub Releases
1313

1414
jobs:
15+
check:
16+
name: Code Style & Formatting
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout source
21+
uses: actions/checkout@v4
22+
23+
- name: Set up JDK 17
24+
uses: actions/setup-java@v4
25+
with:
26+
distribution: 'temurin'
27+
java-version: '17'
28+
29+
- name: Cache Gradle
30+
uses: actions/cache@v3
31+
with:
32+
path: |
33+
~/.gradle/caches
34+
~/.gradle/wrapper
35+
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
36+
restore-keys: gradle-${{ runner.os }}-
37+
38+
- name: Make gradlew executable
39+
run: chmod +x ./gradlew
40+
41+
- name: Run checks
42+
run: ./gradlew filepickerlibrary:spotlessCheck detekt
43+
44+
- name: Upload Detekt HTML report
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: detekt-html-report
48+
path: |
49+
**/build/reports/detekt/detekt.html
1550
build:
1651
name: Build & Test
52+
needs: check
1753
runs-on: ubuntu-latest
1854

1955
steps:

0 commit comments

Comments
 (0)