From b88c8ee8015f5ed80a1b34c384bc773fae75ca3b Mon Sep 17 00:00:00 2001 From: niladic Date: Mon, 27 Nov 2023 16:03:17 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20vers=20java=2017?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- Dockerfile | 4 ++-- app.json | 1 - system.properties | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f7d4f6a85..e9900d14f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,8 +16,8 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - distribution: 'adopt' - java-version: '11' + distribution: 'temurin' + java-version: '17' - name: Formatting run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck - name: Scalafix diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ec73746a..fa5ace919 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,8 +11,8 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - distribution: 'adopt' - java-version: '11' + distribution: 'temurin' + java-version: '17' - uses: harmon758/postgresql-action@v1 with: postgresql version: '10' diff --git a/Dockerfile b/Dockerfile index 2d54738d0..ab5154525 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN npm run build # Builder image for the Scala app # based on https://github.com/hseeberger/scala-sbt # -FROM eclipse-temurin:11-jdk AS scalabuilder +FROM eclipse-temurin:17-jdk AS scalabuilder # We need nodejs to run in a reasonable amount of time sbt-web # see step `Optimizing JavaScript with RequireJS` @@ -53,7 +53,7 @@ RUN sbt clean stage # Final Image # # -FROM eclipse-temurin:11-jre +FROM eclipse-temurin:17-jre ENV PLAY_APP_NAME aplus ENV PLAY_APP_DIR /var/www/$PLAY_APP_NAME diff --git a/app.json b/app.json index a8bc4d4e3..ff78dfb94 100644 --- a/app.json +++ b/app.json @@ -46,7 +46,6 @@ "quantity": 1 } }, - "stack": "heroku-18", "addons": [ "heroku-postgresql" ], diff --git a/system.properties b/system.properties index 180a27348..0dc726cec 100644 --- a/system.properties +++ b/system.properties @@ -1 +1 @@ -java.runtime.version=11 \ No newline at end of file +java.runtime.version=17 \ No newline at end of file