Skip to content

feat(entities): add LengthUnit to Visibility, Cloud, WindShear, Icing… #802

feat(entities): add LengthUnit to Visibility, Cloud, WindShear, Icing…

feat(entities): add LengthUnit to Visibility, Cloud, WindShear, Icing… #802

Workflow file for this run

name: Maven verify
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'adopt'
- name: Cache SonarQube packages
uses: actions/cache@v5
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache maven packages
uses: actions/cache@v5
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run the maven verify
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=mivek_MetarParser
generate-docs:
runs-on: ubuntu-latest
needs: verify
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'adopt'
- name: Generate the javadoc
run: mvn --batch-mode install -DskipTests && mvn --batch-mode javadoc:javadoc