Skip to content

Commit da41b5f

Browse files
Merge pull request #176 from AikidoSec/add-amazon-correto-workflows
Workflows: Test on different java distributions (corretto & oracle)
2 parents 429b08a + ad6879f commit da41b5f

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/end2end.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,18 @@ jobs:
4545
- { name: JavalinPostgres, test_file: end2end/javalin_postgres.py }
4646
- { name: JavalinMySQLKotlin, test_file: end2end/javalin_mysql_kotlin.py }
4747
java-version: [17, 18, 19, 20, 21]
48+
distribution: ['adopt', 'corretto', 'oracle']
4849
steps:
4950
- name: Download build artifacts
5051
uses: actions/download-artifact@v4
5152
with:
5253
name: pkg-build
5354

5455
- name: Set up JDK
55-
uses: actions/setup-java@v2
56+
uses: actions/setup-java@v4
5657
with:
5758
java-version: ${{ matrix.java-version }}
58-
distribution: 'adopt'
59+
distribution: ${{ matrix.distribution }}
5960

6061
- name: Start mock server
6162
working-directory: ./end2end/server

.github/workflows/gradle-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
strategy:
4040
matrix:
4141
java-version: [17, 18, 19, 20, 21]
42+
distribution: ['adopt', 'corretto', 'oracle']
4243

4344
steps:
4445
- name: Download build artifacts
@@ -47,10 +48,10 @@ jobs:
4748
name: pkg-build
4849

4950
- name: Set up JDK
50-
uses: actions/setup-java@v2
51+
uses: actions/setup-java@v4
5152
with:
5253
java-version: ${{ matrix.java-version }}
53-
distribution: 'adopt'
54+
distribution: ${{ matrix.distribution }}
5455

5556
- name: Add local.aikido.io to /etc/hosts
5657
run: |

0 commit comments

Comments
 (0)