-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dependencies upgrade * using non depreciated apis * ci/cd runner update * add cache for ci
- Loading branch information
Showing
53 changed files
with
714 additions
and
575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,33 @@ jobs: | |
check_verify: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
./build | ||
./.gradle | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
~/.m2/repository | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Validate Gradle wrapper | ||
uses: gradle/wrapper-validation[email protected] | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Build Project with Gradle | ||
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
arguments: build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
backend/src/main/kotlin/me/sujanpoudel/playdeals/MainVerticle.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
package me.sujanpoudel.playdeals | ||
|
||
import io.vertx.kotlin.coroutines.CoroutineVerticle | ||
import io.vertx.kotlin.coroutines.await | ||
import io.vertx.kotlin.coroutines.coAwait | ||
import me.sujanpoudel.playdeals.api.ApiVerticle | ||
import me.sujanpoudel.playdeals.jobs.BackgroundJobsVerticle | ||
|
||
class MainVerticle( | ||
private val apiVerticle: ApiVerticle, | ||
private val flywayVerticle: FlywayVerticle, | ||
private val backgroundJobsVerticle: BackgroundJobsVerticle | ||
private val backgroundJobsVerticle: BackgroundJobsVerticle, | ||
) : CoroutineVerticle() { | ||
|
||
override suspend fun start() { | ||
vertx.deployVerticle(flywayVerticle).await() | ||
vertx.deployVerticle(backgroundJobsVerticle).await() | ||
vertx.deployVerticle(apiVerticle).await() | ||
vertx.deployVerticle(flywayVerticle).coAwait() | ||
vertx.deployVerticle(backgroundJobsVerticle).coAwait() | ||
vertx.deployVerticle(apiVerticle).coAwait() | ||
} | ||
} |
Oops, something went wrong.