update github actions due to warnings about nodejs version (#53)

* update github actions due to warnings about nodejs version

* use sbtx instead of sbt because sbtx supports -jvm-opts
This commit is contained in:
PJ Fanning 2022-11-17 12:51:24 +01:00 committed by GitHub
parent 9edbc60292
commit 494d62515e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 46 additions and 46 deletions

View file

@ -23,13 +23,13 @@ jobs:
scalaVersion: [ "2.12", "2.13" ] scalaVersion: [ "2.12", "2.13" ]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 8 - name: Set up JDK 8
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.8.0 java-version: adopt@1.8.0
@ -38,14 +38,14 @@ jobs:
# compile code instead of doing mima check (until we re-enable mima check) # compile code instead of doing mima check (until we re-enable mima check)
- name: Compile code - name: Compile code
run: sbt -jvm-opts .jvmopts-ci "+~ ${{ matrix.scalaVersion }} Test/compile" run: sbtx -jvm-opts .jvmopts-ci "+~ ${{ matrix.scalaVersion }} Test/compile"
# disable mima check until first pekko release is done # disable mima check until first pekko release is done
#- name: Report MiMa Binary Issues #- name: Report MiMa Binary Issues
# run: sbt -jvm-opts .jvmopts-ci "+~ ${{ matrix.scalaVersion }} mimaReportBinaryIssues" # run: sbtx -jvm-opts .jvmopts-ci "+~ ${{ matrix.scalaVersion }} mimaReportBinaryIssues"
#- name: Check correct MiMa filter directories #- name: Check correct MiMa filter directories
# run: sbt -jvm-opts .jvmopts-ci checkMimaFilterDirectories # run: sbtx -jvm-opts .jvmopts-ci checkMimaFilterDirectories
# comment out email actions until we have an email address to use (and we need to get INFRA to whitelist dawidd6/action-send-mail) # comment out email actions until we have an email address to use (and we need to get INFRA to whitelist dawidd6/action-send-mail)
#- name: Email on failure #- name: Email on failure

View file

@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 8 - name: Set up JDK 8
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.8.0 java-version: adopt@1.8.0
@ -29,7 +29,7 @@ jobs:
- name: Check headers - name: Check headers
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dsbt.override.build.repos=false \ -Dsbt.override.build.repos=false \
-Dsbt.log.noformat=false \ -Dsbt.log.noformat=false \
headerCheckAll headerCheckAll
@ -39,13 +39,13 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 8 - name: Set up JDK 8
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.8.0 java-version: adopt@1.8.0
@ -54,7 +54,7 @@ jobs:
- name: sbt validatePullRequest - name: sbt validatePullRequest
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.mima.enabled=false \ -Dakka.mima.enabled=false \
-Dakka.test.multi-in-test=false \ -Dakka.test.multi-in-test=false \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout current branch (full) - name: Checkout current branch (full)
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false

View file

@ -11,7 +11,7 @@ jobs:
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Checkout GitHub merge - name: Checkout GitHub merge
if: github.event.pull_request if: github.event.pull_request

View file

@ -17,7 +17,7 @@ jobs:
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
@ -41,7 +41,7 @@ jobs:
./kubernetes/setup.sh 10 multi-node-test.hosts tcp ./kubernetes/setup.sh 10 multi-node-test.hosts tcp
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11.0-9 java-version: adopt@1.11.0-9
@ -51,7 +51,7 @@ jobs:
- name: Multi node test - name: Multi node test
run: | run: |
cat multi-node-test.hosts cat multi-node-test.hosts
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \
-Dakka.actor.testkit.typed.timefactor=2 \ -Dakka.actor.testkit.typed.timefactor=2 \
-Dakka.test.tags.exclude=gh-exclude,timing \ -Dakka.test.tags.exclude=gh-exclude,timing \
@ -101,7 +101,7 @@ jobs:
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
@ -125,7 +125,7 @@ jobs:
./kubernetes/setup.sh 10 multi-node-test.hosts udp ./kubernetes/setup.sh 10 multi-node-test.hosts udp
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11.0-9 java-version: adopt@1.11.0-9
@ -135,7 +135,7 @@ jobs:
- name: Multi node test with Artery Aeron UDP - name: Multi node test with Artery Aeron UDP
run: | run: |
cat multi-node-test.hosts cat multi-node-test.hosts
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \
-Dakka.actor.testkit.typed.timefactor=2 \ -Dakka.actor.testkit.typed.timefactor=2 \
-Dakka.cluster.assert=on \ -Dakka.cluster.assert=on \

View file

@ -14,12 +14,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
@ -28,7 +28,7 @@ jobs:
- name: sbt akka-cluster-metrics/test - name: sbt akka-cluster-metrics/test
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Djava.security.egd=file:/dev/./urandom \ -Djava.security.egd=file:/dev/./urandom \
-Dakka.test.sigar=true \ -Dakka.test.sigar=true \
-Dakka.cluster.assert=on \ -Dakka.cluster.assert=on \
@ -82,13 +82,13 @@ jobs:
- akka-cluster-typed/test akka-cluster-sharding-typed/test - akka-cluster-typed/test akka-cluster-sharding-typed/test
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
@ -98,7 +98,7 @@ jobs:
- name: sbt ${{ matrix.command }} - name: sbt ${{ matrix.command }}
# note that this is not running any multi-jvm tests because multi-in-test=false # note that this is not running any multi-jvm tests because multi-in-test=false
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Djava.security.egd=file:/dev/./urandom \ -Djava.security.egd=file:/dev/./urandom \
-Dakka.remote.artery.enabled=off \ -Dakka.remote.artery.enabled=off \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \
@ -145,12 +145,12 @@ jobs:
extraopts: "" extraopts: ""
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK ${{ matrix.jdkVersion }} - name: Set up JDK ${{ matrix.jdkVersion }}
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: ${{ matrix.jdkVersion }} java-version: ${{ matrix.jdkVersion }}
@ -160,7 +160,7 @@ jobs:
- name: Compile and Test - name: Compile and Test
# note that this is not running any multi-jvm tests because multi-in-test=false # note that this is not running any multi-jvm tests because multi-in-test=false
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.cluster.assert=on \ -Dakka.cluster.assert=on \
-Dakka.log.timestamps=true \ -Dakka.log.timestamps=true \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \
@ -194,7 +194,7 @@ jobs:
if: ${{ startsWith(matrix.jdkVersion, 'adopt@1.11') }} if: ${{ startsWith(matrix.jdkVersion, 'adopt@1.11') }}
run: |- run: |-
sudo apt-get install graphviz sudo apt-get install graphviz
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.genjavadoc.enabled=true \ -Dakka.genjavadoc.enabled=true \
"+~ ${{ matrix.scalaVersion }} doc" "+~ ${{ matrix.scalaVersion }} doc"
@ -203,7 +203,7 @@ jobs:
if: ${{ startsWith(matrix.jdkVersion, 'adopt@1.11') }} if: ${{ startsWith(matrix.jdkVersion, 'adopt@1.11') }}
run: |- run: |-
sudo apt-get install graphviz sudo apt-get install graphviz
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.build.scalaVersion=${{ matrix.scalaVersion }} \ -Dakka.build.scalaVersion=${{ matrix.scalaVersion }} \
"+~ ${{ matrix.scalaVersion }} publishLocal publishM2" "+~ ${{ matrix.scalaVersion }} publishLocal publishM2"
@ -235,13 +235,13 @@ jobs:
- akka-cluster/test akka-cluster-typed/test - akka-cluster/test akka-cluster-typed/test
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
@ -251,7 +251,7 @@ jobs:
- name: sbt ${{ matrix.command }} - name: sbt ${{ matrix.command }}
# note that this is not running any multi-jvm tests because multi-in-test=false # note that this is not running any multi-jvm tests because multi-in-test=false
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Djava.security.egd=file:/dev/./urandom \ -Djava.security.egd=file:/dev/./urandom \
-Dakka.remote.artery.transport=aeron-udp \ -Dakka.remote.artery.transport=aeron-udp \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \

View file

@ -18,12 +18,12 @@ jobs:
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
- name: Publish - name: Publish

View file

@ -17,12 +17,12 @@ jobs:
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11.0-9 java-version: adopt@1.11.0-9
- name: Publish - name: Publish

View file

@ -33,12 +33,12 @@ jobs:
fail-fast: true fail-fast: true
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
@ -48,7 +48,7 @@ jobs:
- name: Compile and run tests on Scala 3 - name: Compile and run tests on Scala 3
# note that this is not running any multi-jvm tests (yet) because multi-in-test=false # note that this is not running any multi-jvm tests (yet) because multi-in-test=false
run: | run: |
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Dakka.log.timestamps=true \ -Dakka.log.timestamps=true \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \
-Dakka.actor.testkit.typed.timefactor=2 \ -Dakka.actor.testkit.typed.timefactor=2 \

View file

@ -30,12 +30,12 @@ jobs:
fail-fast: true fail-fast: true
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
@ -44,5 +44,5 @@ jobs:
- name: Compile on Scala 3 - name: Compile on Scala 3
run: | run: |
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
"+~ 3 ${{ matrix.command }}" "+~ 3 ${{ matrix.command }}"

View file

@ -14,12 +14,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 11 - name: Set up JDK 11
uses: olafurpg/setup-scala@v10 uses: olafurpg/setup-scala@v13
with: with:
java-version: adopt@1.11 java-version: adopt@1.11
@ -28,7 +28,7 @@ jobs:
- name: sbt test - name: sbt test
run: |- run: |-
sbt -jvm-opts .jvmopts-ci \ sbtx -jvm-opts .jvmopts-ci \
-Djava.security.egd=file:/dev/./urandom \ -Djava.security.egd=file:/dev/./urandom \
-Dakka.cluster.assert=on \ -Dakka.cluster.assert=on \
-Dakka.test.timefactor=2 \ -Dakka.test.timefactor=2 \