⬆️(deps): Update quarkus.platform.version to v3.15.1, SmokeTest Jbang use jbangdev/setup-jbang action, SmokeTest CI use JDK17 #2059
Workflow file for this run
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: Code-Quality | |
on: | |
workflow_dispatch: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
maven-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 | |
with: | |
maven-version: 3.9.0 | |
- name: mvn clean verify | |
run: mvn clean verify | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots clean package | |
- name: Run doc check | |
run: mvn org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar | |
- name: Run spotless check | |
run: mvn spotless:check | |
- name: Check maven pom quality | |
run: mvn org.kordamp.maven:pomchecker-maven-plugin:1.9.0:check-maven-central -D"checker.release=false" | |
qodana: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Qodana Scan' | |
uses: JetBrains/qodana-action@e42ff2d2727091337983f607598abbbce4e25f1f # v2023.3.1 | |
with: | |
args: "--fail-threshold,0" | |
- uses: github/codeql-action/upload-sarif@379614612a29c9e28f31f39a59013eb8012a51f0 # v3 | |
with: | |
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json | |
reproducilbilty: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{ github.workspace }}/maven_plugin | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 | |
with: | |
maven-version: 3.9.0 | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots clean install | |
- name: Run reproducibility check | |
run: mvn clean install |