Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: SonarQube
on:
push:
branches:
- 'main'
permissions:
contents: read
jobs:
sonar:
name: SonarQube (${{ matrix.module }})
runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.module }}
strategy:
fail-fast: false
matrix:
module:
- spring-aop
- spring-aspects
- spring-beans
- spring-context
- spring-context-indexer
- spring-context-support
- spring-core
- spring-core-test
- spring-expression
- spring-instrument
- spring-jdbc
- spring-jms
- spring-messaging
- spring-orm
- spring-oxm
- spring-r2dbc
- spring-test
- spring-tx
- spring-web
- spring-webflux
- spring-webmvc
- spring-websocket
steps:
- name: Check Out Code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Prepare Gradle Build
uses: ./.github/actions/prepare-gradle-build
with:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
java-distribution: liberica
java-early-access: false
java-toolchain: false
java-version: 25
- name: Scan Module
env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew :${{ matrix.module }}:test :${{ matrix.module }}:sonar