-
Notifications
You must be signed in to change notification settings - Fork 25
33 lines (30 loc) · 1.17 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
33
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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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#refs/heads/} || true
git clone https://github.com/hivemq/hivemq-edge-extension-sdk.git ../hivemq-edge-extension-sdk
cd ../hivemq-edge-extension-sdk
git checkout ${GITHUB_REF#refs/heads/} || true
git clone https://github.com/hivemq/hivemq-edge-adapter-sdk.git ../hivemq-edge-adapter-sdk
cd ../hivemq-edge-adapter-sdk
git checkout ${GITHUB_REF#refs/heads/} || true
cd ../hivemq-edge
- name: Setup Java
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4
with:
distribution: 'adopt'
java-version: '11'
- name: Check
run: ./gradlew test :hivemq-edge:forbiddenApis :hivemqEdgeZip