mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-04-08 06:20:04 +00:00
SQSCANGHA-20 Add detection of Kotlin Gradle configuration
This commit is contained in:
parent
320b72385a
commit
968b486245
3 changed files with 21 additions and 1 deletions
20
.github/workflows/qa.yml
vendored
20
.github/workflows/qa.yml
vendored
|
|
@ -81,6 +81,26 @@ jobs:
|
|||
- name: Assert
|
||||
run: |
|
||||
./test/assertFileExists ./output.properties
|
||||
dontFailGradleKotlinTest:
|
||||
name: >
|
||||
Don't fail on Kotlin Gradle project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run action on Kotlin Gradle project
|
||||
id: runTest
|
||||
uses: ./
|
||||
continue-on-error: true
|
||||
env:
|
||||
SONAR_HOST_URL: http://not_actually_used
|
||||
with:
|
||||
projectBaseDir: ./test/gradle-project
|
||||
args: -Dsonar.scanner.dumpToFile=./output.properties
|
||||
- name: Assert
|
||||
run: |
|
||||
./test/assertFileExists ./output.properties
|
||||
dontFailMavenTest:
|
||||
name: >
|
||||
Don't fail on Maven project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue