Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
320 changes: 205 additions & 115 deletions .github/workflows/checks.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK 11
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-dynamodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-jdbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-r2dbc-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.4
uses: coursier/cache-action@a0e7cd24be81bc84f0d7461e02bd1a96980553d7
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/integration-tests-r2dbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down Expand Up @@ -83,8 +83,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down Expand Up @@ -132,8 +132,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-slick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK 17
# https://github.com/coursier/setup-action/releases
Expand Down
72 changes: 72 additions & 0 deletions .github/workflows/native-image-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Native Image checks

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
test:
name: Test Native Image
runs-on: Akka-Default

steps:
- name: Checkout
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Checkout GitHub merge
if: github.event.pull_request
run: |-
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up GraalVM 21
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: graalvm-community:21.0.2

- name: "Build and test Scala Native Image"
run: |
cd samples/grpc/local-drone-control-scala
sbt nativeImage -Dnative.mode=clustered -Dakka-projection.version=`cat ~/.version`
sbt nativeImage -Dakka-projection.version=`cat ~/.version`
target/native-image/local-drone-control &
DRONE_CONTROL_PID=$!
sbt "Test/runMain drones.DroneClientTestApp 127.0.0.1 8080" -Dakka-projection.version=`cat ~/.version`
kill -9 $DRONE_CONTROL_PID
- name: "Build and test Java Native Image"
run: |
cd samples/grpc/local-drone-control-java
mvn -DskipTests=true -Pnative package -nsu -Dakka-projection.version=`cat ~/.version`
mvn -DskipTests=true -Pnative -Pclustered package -nsu -Dakka-projection.version=`cat ~/.version`
- name: Email on failure
if: ${{ failure() }}
uses: dawidd6/action-send-mail@6063705cefe50cb915fc53bb06d4049cae2953b2
with:
server_address: smtp.gmail.com
server_port: 465
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: "Failed: ${{ github.workflow }} / ${{ github.job }}"
to: ${{secrets.MAIL_SEND_TO}}
from: Akka CI
body: |
Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed!
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK 11
# https://github.com/coursier/setup-action/releases
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:

- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
# v7.0.0
uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433

- name: Set up JDK ${{ matrix.jdkVersion }}
# https://github.com/coursier/setup-action/releases
Expand Down