Skip to content

Commit 3aeed02

Browse files
committed
test
1 parent 8fa3384 commit 3aeed02

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: SonarQube Analysis (C#)
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
410

511
jobs:
612
sonarqube:
@@ -13,10 +19,13 @@ jobs:
1319
with:
1420
fetch-depth: 0
1521

16-
- name: Setup .NET
22+
- name: Setup .NET (Multiple Versions)
1723
uses: actions/setup-dotnet@v4
1824
with:
19-
dotnet-version: '8.0.x'
25+
dotnet-version: |
26+
6.0.x
27+
7.0.x
28+
8.0.x
2029
2130
- name: Detect solution file
2231
run: |

0 commit comments

Comments
 (0)