You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/02/27 23:02:07 UTC
[incubator-pekko-management] branch main updated: replace setup-scala and update actions generally (#15)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new 13eae84 replace setup-scala and update actions generally (#15)
13eae84 is described below
commit 13eae8481aca5e0853ebf93149585bf41114dd8d
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Tue Feb 28 00:02:01 2023 +0100
replace setup-scala and update actions generally (#15)
---
.github/workflows/checks.yml | 18 ++++++++++--------
.github/workflows/format.yml | 2 +-
.github/workflows/integration-tests-kube-api.yml | 9 +++++----
.github/workflows/integration-tests-kube-dns.yml | 9 +++++----
.github/workflows/integration-tests-lease.yml | 9 +++++----
.github/workflows/integration-tests-maven.yml | 9 +++++----
.github/workflows/release.yml | 9 ++++++---
.github/workflows/unit-tests.yml | 15 ++++++++-------
8 files changed, 45 insertions(+), 35 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 565b50f..01c9016 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
@@ -25,10 +25,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK 11
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: adopt@1.11.0-9
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
@@ -41,7 +42,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -51,10 +52,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK 11
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: adopt@1.11.0-9
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 0cd8e56..9d330b6 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
diff --git a/.github/workflows/integration-tests-kube-api.yml b/.github/workflows/integration-tests-kube-api.yml
index 57047c5..23c5e96 100644
--- a/.github/workflows/integration-tests-kube-api.yml
+++ b/.github/workflows/integration-tests-kube-api.yml
@@ -18,7 +18,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -28,10 +28,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK adopt@1.11.0-9
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: adopt@1.11.0-9
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/integration-tests-kube-dns.yml b/.github/workflows/integration-tests-kube-dns.yml
index 3c13e9b..adc8486 100644
--- a/.github/workflows/integration-tests-kube-dns.yml
+++ b/.github/workflows/integration-tests-kube-dns.yml
@@ -18,7 +18,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -28,10 +28,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK adopt@1.11.0-9
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: adopt@1.11.0-9
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/integration-tests-lease.yml b/.github/workflows/integration-tests-lease.yml
index a0347d9..682bbd5 100644
--- a/.github/workflows/integration-tests-lease.yml
+++ b/.github/workflows/integration-tests-lease.yml
@@ -18,7 +18,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -28,10 +28,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK adopt@1.11.0-9
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: adopt@1.11.0-9
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/integration-tests-maven.yml b/.github/workflows/integration-tests-maven.yml
index 8fa8f26..4feee74 100644
--- a/.github/workflows/integration-tests-maven.yml
+++ b/.github/workflows/integration-tests-maven.yml
@@ -19,7 +19,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -29,10 +29,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK adopt@1.11.0-9
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: adopt@1.11.0-9
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b12b2c2..83de370 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
@@ -29,8 +29,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Setup Scala with JDK 8
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 8
+ uses: actions/setup-java@v3
+ with:
+ distribution: temurin
+ java-version: 8
- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index a511b5e..5c5e964 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -18,13 +18,13 @@ jobs:
fail-fast: false
matrix:
include:
- - { java-version: adopt@1.8, scala-version: 2.12.16, sbt-opts: '' }
- - { java-version: adopt@1.11.0-9, scala-version: 2.12.16, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
- - { java-version: adopt@1.8, scala-version: 2.13.8, sbt-opts: '' }
- - { java-version: adopt@1.11.0-9, scala-version: 2.13.8, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
+ - { java-version: 8, scala-version: 2.12.16, sbt-opts: '' }
+ - { java-version: 11, scala-version: 2.12.16, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
+ - { java-version: 8, scala-version: 2.13.8, sbt-opts: '' }
+ - { java-version: 11, scala-version: 2.13.8, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -34,9 +34,10 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Setup JDK ${{ matrix.java-version }}
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java ${{ matrix.java-version }}
+ uses: actions/setup-java@v3
with:
+ distribution: temurin
java-version: ${{ matrix.java-version }}
- name: Cache Coursier cache
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org