replace use of unmaintained setup-scala action (#148)
* replace use of unmaintained setup-scala scation * try setting gha permissions
This commit is contained in:
parent
bf0a9b3515
commit
f358df1c86
11 changed files with 80 additions and 46 deletions
|
|
@ -9,6 +9,8 @@ on:
|
|||
tags:
|
||||
- v2.6.*
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
check-binary-compatibility:
|
||||
name: Check / Binary Compatibility
|
||||
|
|
@ -28,10 +30,11 @@ jobs:
|
|||
# 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@v13
|
||||
- name: Setup Java 8
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.8.0
|
||||
distribution: temurin
|
||||
java-version: 8
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
16
.github/workflows/build-test-prValidation.yml
vendored
16
.github/workflows/build-test-prValidation.yml
vendored
|
|
@ -3,6 +3,8 @@ name: Pull Requests
|
|||
on:
|
||||
pull_request:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
# Only run once for latest commit per ref and cancel other (previous) runs.
|
||||
group: ci-${{ github.ref }}
|
||||
|
|
@ -19,10 +21,11 @@ jobs:
|
|||
# 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@v13
|
||||
- name: Setup Java 8
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.8.0
|
||||
distribution: temurin
|
||||
java-version: 8
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
@ -47,10 +50,11 @@ jobs:
|
|||
# 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@v13
|
||||
- name: Setup Java 8
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.8.0
|
||||
distribution: temurin
|
||||
java-version: 8
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
2
.github/workflows/format.yml
vendored
2
.github/workflows/format.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
name: Scalafmt
|
||||
|
||||
permissions: read-all
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
|
|||
9
.github/workflows/link-validator.yml
vendored
9
.github/workflows/link-validator.yml
vendored
|
|
@ -5,6 +5,8 @@ on:
|
|||
- cron: '0 6 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
validate-links:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -19,10 +21,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@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
17
.github/workflows/multi-node.yml
vendored
17
.github/workflows/multi-node.yml
vendored
|
|
@ -5,6 +5,9 @@ on:
|
|||
- cron: '0 2 * * 1,3,5'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
# Only run once for latest commit per ref and cancel other (previous) runs.
|
||||
group: ci-multi-node-${{ github.ref }}
|
||||
|
|
@ -40,10 +43,11 @@ jobs:
|
|||
# Start 10 pods. At most 10 MultiJvmNode (akka.cluster.StressSpec is currently disabled).
|
||||
./kubernetes/setup.sh 10 multi-node-test.hosts tcp
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- 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
|
||||
|
|
@ -127,10 +131,11 @@ jobs:
|
|||
# Start 10 pods. At most 10 MultiJvmNode (akka.cluster.StressSpec is currently disabled).
|
||||
./kubernetes/setup.sh 10 multi-node-test.hosts udp
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- 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
|
||||
|
|
|
|||
30
.github/workflows/nightly-builds.yml
vendored
30
.github/workflows/nightly-builds.yml
vendored
|
|
@ -5,6 +5,8 @@ on:
|
|||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
|
||||
pekko-cluster-metrics-sigar:
|
||||
|
|
@ -18,10 +20,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
@ -90,10 +93,11 @@ jobs:
|
|||
# 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@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
@ -155,10 +159,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK ${{ matrix.jdkVersion }}
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- name: Setup Java ${{ matrix.java-version }}
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ matrix.jdkVersion }}
|
||||
distribution: temurin
|
||||
java-version: ${{ matrix.java-version }}
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
@ -249,10 +254,11 @@ jobs:
|
|||
# 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@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
7
.github/workflows/publish-nightly.yml
vendored
7
.github/workflows/publish-nightly.yml
vendored
|
|
@ -43,10 +43,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Install Graphviz
|
||||
run: |-
|
||||
|
|
|
|||
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
push:
|
||||
tags: ["*"]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
sbt:
|
||||
name: sbt publish
|
||||
|
|
@ -15,10 +18,11 @@ jobs:
|
|||
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@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11.0-9
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
- name: Publish
|
||||
run: |-
|
||||
sudo apt-get install graphviz
|
||||
|
|
|
|||
8
.github/workflows/scala3-build.yml
vendored
8
.github/workflows/scala3-build.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
# Only run once for latest commit per ref and cancel other (previous) runs.
|
||||
|
|
@ -37,10 +38,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
9
.github/workflows/scala3-compile.yml
vendored
9
.github/workflows/scala3-compile.yml
vendored
|
|
@ -3,6 +3,8 @@ name: Compile Akka with Scala 3
|
|||
on:
|
||||
pull_request:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
# Only run once for latest commit per ref and cancel other (previous) runs.
|
||||
group: ci-scala3-${{ github.ref }}
|
||||
|
|
@ -34,10 +36,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
9
.github/workflows/timing-tests.yml
vendored
9
.github/workflows/timing-tests.yml
vendored
|
|
@ -5,6 +5,8 @@ on:
|
|||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
|
||||
akka-timing-sensitive-tests:
|
||||
|
|
@ -18,10 +20,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: olafurpg/setup-scala@v13
|
||||
- name: Setup Java 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: adopt@1.11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
|
||||
- name: Cache Coursier cache
|
||||
uses: coursier/cache-action@v6.4.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue