Skip to content

Commit

Permalink
Merge pull request #84 from civitaspo/spotless-ci
Browse files Browse the repository at this point in the history
Spotless ci
  • Loading branch information
civitaspo authored Jul 27, 2021
2 parents aca7ef7 + 19d0dcb commit 1ca7381
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: scalafmt with Gradle
run: ./gradlew spotlessCheck
- name: Test with Gradle
run: ./gradlew test
- name: Release Packages into Github Packages
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: scalafmt with Gradle
run: ./gradlew spotlessCheck
- name: Test with Gradle
run: ./gradlew test

Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ class EcsTaskRegisterOperator(operatorName: String, context: OperatorContext, sy
Optional.of(cd)
}


protected def configureDependsOn(c: Config): Optional[ContainerDependency] = {
if (c.isEmpty) return Optional.absent()

Expand All @@ -187,8 +186,7 @@ class EcsTaskRegisterOperator(operatorName: String, context: OperatorContext, sy
protected def configureEphemeralStorage(c: Config): Optional[EphemeralStorage] = {
if (c.isEmpty) return Optional.absent()

val sizeInGiB
: Int = c.get("size_in_gi_b", classOf[Int])
val sizeInGiB: Int = c.get("size_in_gi_b", classOf[Int])

val es: EphemeralStorage = new EphemeralStorage()
es.setSizeInGiB(sizeInGiB)
Expand Down

0 comments on commit 1ca7381

Please sign in to comment.