Skip to content

Commit 3e0d3b7

Browse files
Format kotlin files in Github Actions
1 parent 1abbb9b commit 3e0d3b7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
with:
1818
distribution: 'zulu'
1919
java-version: '17'
20-
- name: ktLint
20+
- name: formatKotlin
21+
run: ./gradlew formatKotlin
22+
- uses: stefanzweifel/git-auto-commit-action@v5
23+
- name: lintKotlin
2124
run: ./gradlew lintKotlin
2225
- name: run apiCheck
2326
run: ./gradlew apiCheck

firebase-common/src/commonMain/kotlin/dev/gitlive/firebase/EncodeDecodeSettings.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import kotlinx.serialization.modules.SerializersModule
55
/**
66
* Settings used to configure encoding/decoding
77
*/
8-
public sealed interface EncodeDecodeSettings {
8+
public sealed interface EncodeDecodeSettings
9+
{
910

1011
/**
1112
* The [SerializersModule] to use for serialization. This allows for polymorphic serialization on runtime

0 commit comments

Comments
 (0)