Skip to content

Commit 5122332

Browse files
Format kotlin files in Github Actions
1 parent 1abbb9b commit 5122332

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/push.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Push
2+
3+
on: [ push ]
4+
5+
jobs:
6+
formatKotlin:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
ref: ${{ github.head_ref }}
14+
- name: Set up JDK
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: 'zulu'
18+
java-version: '17'
19+
- name: formatKotlin
20+
run: ./gradlew formatKotlin
21+
- uses: stefanzweifel/git-auto-commit-action@v5
22+
- name: lintKotlin
23+
run: ./gradlew lintKotlin

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)