add license headers #4085
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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@8df1039502a15bceb9433410b1a100fbe190c53b # v4 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Check | |
run: ./gradlew test :hivemq-edge:forbiddenApis :hivemqEdgeZip |