Skip to content

Commit 8c9e377

Browse files
committed
Move sonar workflow from java to any
1 parent bd10e52 commit 8c9e377

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: MIT
33
---
44
# yamllint disable rule:line-length
5-
name: java-sonar-template
5+
name: any-sonar-template
66
'on':
77
workflow_call:
88
inputs:
@@ -24,7 +24,7 @@ defaults:
2424
permissions:
2525
contents: read
2626
jobs:
27-
java-sonar-template:
27+
any-sonar-template:
2828
runs-on: ubuntu-24.04
2929
steps:
3030
- name: Checkout code
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: MIT
33
---
44
# yamllint disable rule:line-length
5-
name: java-sonar
5+
name: any-sonar
66
'on':
77
push:
88
branches:
@@ -11,10 +11,10 @@ name: java-sonar
1111
permissions:
1212
contents: read
1313
jobs:
14-
java-sonar:
15-
uses: fabriciofx/github-workflows/.github/workflows/java-sonar-template.yml@main
14+
any-sonar:
15+
uses: fabriciofx/github-workflows/.github/workflows/any-sonar-template.yml@main
1616
with:
17-
working-directory: "java/test"
17+
working-directory: "."
1818
secrets:
1919
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
SN_TOKEN: ${{ secrets.SONAR_TOKEN }}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: MIT
33
---
44
# yamllint disable rule:line-length
5-
name: java-sonar
5+
name: any-sonar
66
'on':
77
push:
88
branches:
@@ -11,8 +11,8 @@ name: java-sonar
1111
permissions:
1212
contents: read
1313
jobs:
14-
java-sonar:
15-
uses: fabriciofx/github-workflows/.github/workflows/java-sonar-template.yml@main
14+
any-sonar:
15+
uses: fabriciofx/github-workflows/.github/workflows/any-sonar-template.yml@main
1616
secrets:
1717
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
SN_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)