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" ]
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
- name: Set up JDK 8
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v13
with:
java-version: adopt@1.8.0
@ -38,14 +38,14 @@ jobs:
# compile code instead of doing mima check (until we re-enable mima check)
- 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
#- 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
# 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)
#- name: Email on failure

View file

@ -14,13 +14,13 @@ 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
- name: Set up JDK 8
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v13
with:
java-version: adopt@1.8.0
@ -29,7 +29,7 @@ jobs:
- name: Check headers
run: |-
sbt -jvm-opts .jvmopts-ci \
sbtx -jvm-opts .jvmopts-ci \
-Dsbt.override.build.repos=false \
-Dsbt.log.noformat=false \
headerCheckAll
@ -39,13 +39,13 @@ 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
- name: Set up JDK 8
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v13
with:
java-version: adopt@1.8.0
@ -54,7 +54,7 @@ jobs:
- name: sbt validatePullRequest
run: |-
sbt -jvm-opts .jvmopts-ci \
sbtx -jvm-opts .jvmopts-ci \
-Dakka.mima.enabled=false \
-Dakka.test.multi-in-test=false \
-Dakka.test.timefactor=2 \

View file

@ -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

View file

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

View file

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

View file

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

View file

@ -18,12 +18,12 @@ jobs:
if: github.repository == 'apache/incubator-pekko'
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
- name: Set up JDK 11
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v13
with:
java-version: adopt@1.11
- name: Publish

View file

@ -17,12 +17,12 @@ jobs:
if: github.repository == 'apache/incubator-pekko'
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
- name: Set up JDK 11
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v13
with:
java-version: adopt@1.11.0-9
- name: Publish

View file

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

View file

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

View file

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