-
Notifications
You must be signed in to change notification settings - Fork 266
32 lines (29 loc) · 1 KB
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI Check
on: [ push ]
concurrency:
group: ${{ github.ref }}-check
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Checkout Extension SDK
run: |
git clone https://github.com/hivemq/hivemq-extension-sdk.git ../hivemq-extension-sdk
cd ../hivemq-extension-sdk
git checkout ${GITHUB_REF##*/} || true
cd ../hivemq-community-edition
- name: Setup Java
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
with:
distribution: 'adopt'
java-version: '11'
- name: Login to Docker Hub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Check
run: ./gradlew test license forbiddenApis javadoc hivemqZip