-
Notifications
You must be signed in to change notification settings - Fork 191
43 lines (36 loc) · 1011 Bytes
/
verify.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
34
35
36
37
38
39
40
41
42
43
name: Verify
on:
push:
branches:
- master
pull_request:
jobs:
verify:
runs-on: ubuntu-latest
services:
rabbitmq:
image: rabbitmq:3-management-alpine
env:
RABBITMQ_DEFAULT_VHOST: /
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- 15672:15672
- 5672:5672
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Check file license headers
run: mvn license:check --batch-mode
- name: Run tests & javadoc & Sonar Scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn verify javadoc:javadoc --batch-mode \
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.organization=bosch-iot-rollouts -Dsonar.projectKey=bir-eclipse-hawkbit