Skip to content

Commit 879df45

Browse files
committed
Add gradle config step
1 parent ce58773 commit 879df45

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/main-ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
code-check:
1515
name: Code Check
16-
runs-on: macos-11
16+
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v3
@@ -27,6 +27,11 @@ jobs:
2727
distribution: temurin
2828
java-version: 11
2929

30+
- name: Setup Gradle
31+
uses: gradle/gradle-build-action@v2
32+
with:
33+
gradle-version: wrapper
34+
3035
- name: Check Swift Package Version
3136
run: ./gradlew checkSwiftPackageVersion
3237

@@ -52,6 +57,11 @@ jobs:
5257
distribution: temurin
5358
java-version: 11
5459

60+
- name: Setup Gradle
61+
uses: gradle/gradle-build-action@v2
62+
with:
63+
gradle-version: wrapper
64+
5565
- name: Run Kover Verify
5666
run: ./gradlew koverVerify
5767

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#Gradle
2-
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"
3-
41
#Kotlin
52
kotlin.code.style=official
63

0 commit comments

Comments
 (0)