Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 2e6b074

Browse files
committed
Test on supported Java versions
1 parent 2b52146 commit 2e6b074

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test against supported Java versions
2+
3+
on:
4+
schedule:
5+
- cron: '0 4 * * *'
6+
workflow_dispatch:
7+
8+
permissions: read-all
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
java: [ '8', '11', '17', '19', '20-ea' ]
15+
name: Test against Java ${{ matrix.java }}
16+
services:
17+
rabbitmq:
18+
image: rabbitmq
19+
ports:
20+
- 5672:5672
21+
22+
steps:
23+
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
24+
25+
- name: Set up JDK ${{ matrix.java }}
26+
uses: actions/setup-java@f0bb91606209742fe3ea40199be2f3ef195ecabf # renovate: tag=v2
27+
with:
28+
distribution: 'temurin'
29+
java-version: ${{ matrix.java }}
30+
31+
- name: Test
32+
run: ./gradlew check -i -s -Drabbitmqctl.bin=DOCKER:${{job.services.rabbitmq.id}}

0 commit comments

Comments
 (0)